DataPortalResult defines the results of DataPortal operation. More...
Public Member Functions | |
DataPortalResult (T obj, Exception ex, object userState) | |
Create new instance of data portal result More... | |
Properties | |
T | Object [get] |
Object that DataPortal received as a result of current operation More... | |
Exception | Error [get] |
Error that occurred during the DataPotal call. More... | |
object | UserState [get] |
User defined information that was passed into data portal on initial request More... | |
Properties inherited from Csla.IDataPortalResult | |
object | Object [get] |
Gets the resulting object. More... | |
Exception | Error [get] |
Gets any resulting error information. More... | |
object | UserState [get] |
Gets the user state, pass through object More... | |
DataPortalResult defines the results of DataPortal operation.
It contains object that was received from the server, an error (if occurred) and userState - user defined information that was passed into data portal on initial request
T | Type of object that DataPortal received |
Definition at line 19 of file DataPortalResult.cs.
Csla.DataPortalResult< T >.DataPortalResult | ( | T | obj, |
Exception | ex, | ||
object | userState | ||
) |
Create new instance of data portal result
obj | Object that DataPortal received as a result of current operation |
ex | Error that occurred during the DataPotal call. This will be null if no errors occurred. |
userState | User defined information that was passed into data portal on initial request |
Definition at line 51 of file DataPortalResult.cs.
|
get |
Error that occurred during the DataPotal call.
This will be null if no errors occurred.
Definition at line 29 of file DataPortalResult.cs.
|
get |
Object that DataPortal received as a result of current operation
Definition at line 24 of file DataPortalResult.cs.
|
get |
User defined information that was passed into data portal on initial request
Definition at line 35 of file DataPortalResult.cs.