CSLA .NET 10.0.0
A home for your business logic
Loading...
Searching...
No Matches
Csla.Server.InterceptArgs Class Reference

Arguments parameter passed to the interceptor methods. More...

Public Member Functions

 InterceptArgs (Type objectType, object? parameter, DataPortalResult result, DataPortalOperations operation, bool isSync)
 Initializes a new instance of InterceptArgs-object.
 InterceptArgs (Type objectType, object? parameter, Exception exception, DataPortalOperations operation, bool isSync)
 Initializes a new instance of InterceptArgs-object.
 InterceptArgs (Type objectType, object? parameter, DataPortalOperations operation, bool isSync)
 Initializes a new instance of InterceptArgs-object.

Properties

Type ObjectType [get]
 Gets or sets the business object type.
object? Parameter [get]
 Gets or sets the criteria or business object parameter provided to the data portal from the client.
DataPortalResultResult [get]
 Gets or sets the business object resulting from the data portal operation.
Exception? Exception [get]
 Gets or sets the exception that occurred during data portal processing.
DataPortalOperations Operation [get]
 Gets or sets the data portal operation being performed.
bool IsSync [get]
 Gets or sets a value indicating whether the data portal was invoked synchronously.
TimeSpan Runtime [get, set]
 Gets or sets a value containing the elapsed runtime for this operation (only valid at end of operation).

Detailed Description

Arguments parameter passed to the interceptor methods.

Constructor & Destructor Documentation

◆ InterceptArgs() [1/3]

Csla.Server.InterceptArgs.InterceptArgs ( Type objectType,
object? parameter,
DataPortalResult result,
DataPortalOperations operation,
bool isSync )
inline

Initializes a new instance of InterceptArgs-object.

Parameters
objectType
parameter
result
operation
isSync
Exceptions
ArgumentNullExceptionobjectType or result is null.

◆ InterceptArgs() [2/3]

Csla.Server.InterceptArgs.InterceptArgs ( Type objectType,
object? parameter,
Exception exception,
DataPortalOperations operation,
bool isSync )
inline

Initializes a new instance of InterceptArgs-object.

Parameters
objectType
parameter
exception
operation
isSync
Exceptions
ArgumentNullExceptionobjectType or exception is null.

◆ InterceptArgs() [3/3]

Csla.Server.InterceptArgs.InterceptArgs ( Type objectType,
object? parameter,
DataPortalOperations operation,
bool isSync )
inline

Initializes a new instance of InterceptArgs-object.

Parameters
objectType
parameter
operation
isSync
Exceptions
ArgumentNullExceptionobjectType is null.

Property Documentation

◆ Exception

Exception? Csla.Server.InterceptArgs.Exception
get

Gets or sets the exception that occurred during data portal processing.

◆ IsSync

bool Csla.Server.InterceptArgs.IsSync
get

Gets or sets a value indicating whether the data portal was invoked synchronously.

◆ ObjectType

Type Csla.Server.InterceptArgs.ObjectType
get

Gets or sets the business object type.

◆ Operation

DataPortalOperations Csla.Server.InterceptArgs.Operation
get

Gets or sets the data portal operation being performed.

◆ Parameter

object? Csla.Server.InterceptArgs.Parameter
get

Gets or sets the criteria or business object parameter provided to the data portal from the client.

◆ Result

DataPortalResult? Csla.Server.InterceptArgs.Result
get

Gets or sets the business object resulting from the data portal operation.

◆ Runtime

TimeSpan Csla.Server.InterceptArgs.Runtime
getset

Gets or sets a value containing the elapsed runtime for this operation (only valid at end of operation).


The documentation for this class was generated from the following file: