Creates a new instance of AsyncCompletedEventArgs.
Namespace:
Rebex
Assembly:
Rebex.Common (in Rebex.Common.dll)
Syntax
Visual Basic |
---|
Public Sub New ( _ error As Exception, _ cancelled As Boolean, _ userState As Object _ ) |
C# |
---|
public AsyncCompletedEventArgs( Exception error, bool cancelled, Object userState ) |
Parameters
- error
- Type: System..::..Exception
An exception thrown by the asynchronous operation.
- cancelled
- Type: System..::..Boolean
True if the operation was canceled, false otherwise.
- userState
- Type: System..::..Object
User state ID.