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.DataPortalResult Class Reference

Returns data from the server-side DataPortal to the client-side DataPortal. More...

Inheritance diagram for Csla.Server.DataPortalResult:

Public Member Functions

 DataPortalResult ()
 Creates an instance of the object. More...
 
 DataPortalResult (object returnObject)
 Creates an instance of the object. More...
 
 DataPortalResult (object returnObject, ContextDictionary globalContext)
 Creates an instance of the object. More...
 
 DataPortalResult (object returnObject, Exception ex, ContextDictionary globalContext)
 Creates an instance of the object. More...
 

Properties

object ReturnObject [get]
 The business object being returned from the server. More...
 
Exception Error [get]
 Error that occurred during the DataPotal call. More...
 
ContextDictionary GlobalContext [get]
 The global context being returned from the server. More...
 

Detailed Description

Returns data from the server-side DataPortal to the client-side DataPortal.

Intended for internal CSLA .NET use only.

Definition at line 20 of file Server/DataPortalResult.cs.

Constructor & Destructor Documentation

◆ DataPortalResult() [1/4]

Csla.Server.DataPortalResult.DataPortalResult ( )

Creates an instance of the object.

Definition at line 43 of file Server/DataPortalResult.cs.

◆ DataPortalResult() [2/4]

Csla.Server.DataPortalResult.DataPortalResult ( object  returnObject)

Creates an instance of the object.

Parameters
returnObjectObject to return as part of the result.

Definition at line 53 of file Server/DataPortalResult.cs.

◆ DataPortalResult() [3/4]

Csla.Server.DataPortalResult.DataPortalResult ( object  returnObject,
ContextDictionary  globalContext 
)

Creates an instance of the object.

Parameters
returnObjectObject to return as part of the result.
globalContextGlobal context delivered via current reuest from the server

Definition at line 66 of file Server/DataPortalResult.cs.

◆ DataPortalResult() [4/4]

Csla.Server.DataPortalResult.DataPortalResult ( object  returnObject,
Exception  ex,
ContextDictionary  globalContext 
)

Creates an instance of the object.

Parameters
returnObjectObject to return as part of the result.
exError that occurred during the DataPotal call. This will be null if no errors occurred.
globalContextGlobal context delivered via current reuest from the server

Definition at line 83 of file Server/DataPortalResult.cs.

Property Documentation

◆ Error

Exception Csla.Server.DataPortalResult.Error
get

Error that occurred during the DataPotal call.

This will be null if no errors occurred.

Definition at line 32 of file Server/DataPortalResult.cs.

◆ GlobalContext

ContextDictionary Csla.Server.DataPortalResult.GlobalContext
get

The global context being returned from the server.

Definition at line 38 of file Server/DataPortalResult.cs.

◆ ReturnObject

object Csla.Server.DataPortalResult.ReturnObject
get

The business object being returned from the server.

Definition at line 26 of file Server/DataPortalResult.cs.