Class Terminal.RequestCompletedEventArgs
Inheritance
System.Object
Terminal.RequestCompletedEventArgs
Namespace: SIX.TimApi
Assembly: TimApi.dll
Syntax
public class RequestCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
Constructors
RequestCompletedEventArgs(RequestTypes)
Declaration
public RequestCompletedEventArgs(RequestTypes type)
Parameters
Type | Name | Description |
---|---|---|
RequestTypes | type |
RequestCompletedEventArgs(TimException, RequestTypes)
Declaration
public RequestCompletedEventArgs(TimException excp, RequestTypes type)
Parameters
Type | Name | Description |
---|---|---|
TimException | excp | |
RequestTypes | type |
Properties
RequestType
the type of the completed request.
Declaration
public RequestTypes RequestType { get; }
Property Value
Type | Description |
---|---|
RequestTypes | RequestType. |
TimError
An Exception instance, if an error occurred during an asynchronous operation; otherwise null.
Declaration
public TimException TimError { get; }
Property Value
Type | Description |
---|---|
TimException | v if exception, otherwise null. |
Remarks
If an exception is raised during an asynchronous operation, the class will assign the exception to the Error property. The client application's event-handler delegate should check the Error property before accessing any properties. in a class derived from AsyncCompletedEventArgs; otherwise, the property will raise a TargetInvocationException with its InnerException property holding a reference to Error.
Methods
ToString()
Declaration
public override String ToString()
Returns
Type | Description |
---|---|
String |