CSLA.NET 6.0.0
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
Csla.Reflection.CallMethodException Class Reference

This exception is returned from the CallMethod method in the server-side DataPortal and contains the exception thrown by the underlying business object method that was being invoked. More...

Inheritance diagram for Csla.Reflection.CallMethodException:

Public Member Functions

 CallMethodException (string message, Exception ex)
 Creates an instance of the type. More...
 
override void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
 Serializes the object. More...
 

Protected Member Functions

 CallMethodException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
 Creates an instance of the object for deserialization. More...
 

Properties

override string StackTrace [get]
 Get the stack trace from the original exception. More...
 

Detailed Description

This exception is returned from the CallMethod method in the server-side DataPortal and contains the exception thrown by the underlying business object method that was being invoked.

Definition at line 22 of file CallMethodException.cs.

Constructor & Destructor Documentation

◆ CallMethodException() [1/2]

Csla.Reflection.CallMethodException.CallMethodException ( string  message,
Exception  ex 
)

Creates an instance of the type.

Parameters
messageMessage text describing the exception.
exInner exception object.

Definition at line 48 of file CallMethodException.cs.

◆ CallMethodException() [2/2]

Csla.Reflection.CallMethodException.CallMethodException ( System.Runtime.Serialization.SerializationInfo  info,
System.Runtime.Serialization.StreamingContext  context 
)
protected

Creates an instance of the object for deserialization.

Parameters
infoSerialization info.
contextSerialiation context.

Definition at line 59 of file CallMethodException.cs.

Member Function Documentation

◆ GetObjectData()

override void Csla.Reflection.CallMethodException.GetObjectData ( System.Runtime.Serialization.SerializationInfo  info,
System.Runtime.Serialization.StreamingContext  context 
)

Serializes the object.

Parameters
infoSerialization info.
contextSerialization context.

Definition at line 76 of file CallMethodException.cs.

Property Documentation

◆ StackTrace

override string Csla.Reflection.CallMethodException.StackTrace
get

Get the stack trace from the original exception.

Returns

Definition at line 34 of file CallMethodException.cs.