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

This exception is returned from the server-side DataPortal and contains the exception and context data from the server. More...

Inheritance diagram for Csla.Server.DataPortalException:

Public Member Functions

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

Protected Member Functions

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

Properties

DataPortalResult Result [get]
 Returns the DataPortalResult object from the server. More...
 
override string StackTrace [get]
 Get the server-side stack trace from the original exception. More...
 

Detailed Description

This exception is returned from the server-side DataPortal and contains the exception and context data from the server.

Definition at line 19 of file Server/DataPortalException.cs.

Constructor & Destructor Documentation

◆ DataPortalException() [1/2]

Csla.Server.DataPortalException.DataPortalException ( string  message,
Exception  ex,
DataPortalResult  result 
)

Creates an instance of the object.

Parameters
messageText describing the exception.
exInner exception.
resultThe data portal result object.

Definition at line 49 of file Server/DataPortalException.cs.

◆ DataPortalException() [2/2]

Csla.Server.DataPortalException.DataPortalException ( System.Runtime.Serialization.SerializationInfo  info,
System.Runtime.Serialization.StreamingContext  context 
)
protected

Creates an instance of the object for serialization.

Parameters
infoSerialiation info object.
contextSerialization context object.

Definition at line 63 of file Server/DataPortalException.cs.

Member Function Documentation

◆ GetObjectData()

override void Csla.Server.DataPortalException.GetObjectData ( System.Runtime.Serialization.SerializationInfo  info,
System.Runtime.Serialization.StreamingContext  context 
)

Serializes the object.

Parameters
infoSerialiation info object.
contextSerialization context object.

Definition at line 81 of file Server/DataPortalException.cs.

Property Documentation

◆ Result

DataPortalResult Csla.Server.DataPortalException.Result
get

Returns the DataPortalResult object from the server.

Definition at line 27 of file Server/DataPortalException.cs.

◆ StackTrace

override string Csla.Server.DataPortalException.StackTrace
get

Get the server-side stack trace from the original exception.

Definition at line 37 of file Server/DataPortalException.cs.