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

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

Inheritance diagram for Csla.Server.DataPortalResult:
Csla.Core.IUseApplicationContext

Public Member Functions

 DataPortalResult ()
 Creates an instance of the type. More...
 
 DataPortalResult (ApplicationContext applicationContext, object returnObject)
 Creates an instance of the type. More...
 
 DataPortalResult (ApplicationContext applicationContext, object returnObject, Exception ex)
 Creates an instance of the type. 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...
 
- Properties inherited from Csla.Core.IUseApplicationContext
ApplicationContext ApplicationContext [getset]
 Gets or sets the current ApplicationContext object. 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 19 of file Server/DataPortalResult.cs.

Constructor & Destructor Documentation

◆ DataPortalResult() [1/3]

Csla.Server.DataPortalResult.DataPortalResult ( )

Creates an instance of the type.

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

◆ DataPortalResult() [2/3]

Csla.Server.DataPortalResult.DataPortalResult ( ApplicationContext  applicationContext,
object  returnObject 
)

Creates an instance of the type.

Parameters
applicationContext
returnObjectObject to return as part of the result.

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

◆ DataPortalResult() [3/3]

Csla.Server.DataPortalResult.DataPortalResult ( ApplicationContext  applicationContext,
object  returnObject,
Exception  ex 
)

Creates an instance of the type.

Parameters
applicationContext
returnObjectObject to return as part of the result.
exError that occurred during the DataPotal call. This will be null if no errors occurred.

Definition at line 65 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 34 of file Server/DataPortalResult.cs.

◆ ReturnObject

object Csla.Server.DataPortalResult.ReturnObject
get

The business object being returned from the server.

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