Class Terminal.RequestCompletedEventArgs
Inheritance
System.Object
System.EventArgs
System.ComponentModel.AsyncCompletedEventArgs
Terminal.RequestCompletedEventArgs
Inherited Members
System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
System.ComponentModel.AsyncCompletedEventArgs.Cancelled
System.ComponentModel.AsyncCompletedEventArgs.Error
System.ComponentModel.AsyncCompletedEventArgs.UserState
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SIX.TimApi
Assembly: TimApi.dll
Syntax
public class RequestCompletedEventArgs : 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 |
---|---|
System.String |
Overrides
System.Object.ToString()