Uredi

AsyncCompletedEventArgs(Exception, Boolean, Object) Constructor

Definition

Initializes a new instance of the AsyncCompletedEventArgs class.

public:
 AsyncCompletedEventArgs(Exception ^ error, bool cancelled, System::Object ^ userState);
public AsyncCompletedEventArgs(Exception? error, bool cancelled, object? userState);
public AsyncCompletedEventArgs(Exception error, bool cancelled, object userState);
new System.ComponentModel.AsyncCompletedEventArgs : Exception * bool * obj -> System.ComponentModel.AsyncCompletedEventArgs
Public Sub New (error As Exception, cancelled As Boolean, userState As Object)

Parameters

error
Exception

Any error that occurred during the asynchronous operation.

cancelled
Boolean

A value indicating whether the asynchronous operation was canceled.

userState
Object

The optional user-supplied state object passed to the RunWorkerAsync(Object) method.

Applies to