Class AsyncEventArgs
Contains information about an event generated during asynchronous (background) processing
Inheritance
System.Object
AsyncEventArgs
Namespace: MESL.SqlRace.Domain
Assembly: MESL.SqlRace.Domain.dll
Syntax
public class AsyncEventArgs : EventArgs
Constructors
AsyncEventArgs(Exception)
Initialises a new instance of the AsyncEventArgs class.
Declaration
public AsyncEventArgs(Exception jobException)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | jobException | The job exception. |
AsyncEventArgs(Exception, Nullable<Guid>)
Initialises a new instance of the AsyncEventArgs class.
Declaration
public AsyncEventArgs(Exception jobException, Nullable<Guid> sessionKey)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | jobException | The job exception. |
System.Nullable<System.Guid> | sessionKey | The session key. |
Properties
JobException
Gets the job exception.
Declaration
public Exception JobException { get; }
Property Value
Type | Description |
---|---|
System.Exception | The job exception. |
SessionKey
Gets or sets the session key associated with this event. SessionKey will be null if the error is not specific to a single session.
Declaration
public Nullable<Guid> SessionKey { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> | The session key. |