Version

ExecuteCommandCompletedEventArgs Constructor

Initializes a new instance of the ExecuteCommandCompletedEventArgs class.
Syntax
'Declaration
 
Public Function New( _
   ByVal result As IResult, _
   ByVal exception As Exception, _
   ByVal canceled As Boolean, _
   ByVal userState As Object _
)
public ExecuteCommandCompletedEventArgs( 
   IResult result,
   Exception exception,
   bool canceled,
   object userState
)

Parameters

result
The result of executed async operation.
exception
Any error that occurred during the asynchronous operation.
canceled
A value that indicates whether the asynchronous operation was canceled.
userState
The optional user-supplied state object that is used to identify the task that raised the MethodNameCompleted event.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also