Επεξεργασία

Κοινή χρήση μέσω


AsyncCompletedEventArgs Constructors

Definition

Initializes a new instance of the AsyncCompletedEventArgs class.

Overloads

AsyncCompletedEventArgs()
Obsolete.

Initializes a new instance of the AsyncCompletedEventArgs class.

AsyncCompletedEventArgs(Exception, Boolean, Object)

Initializes a new instance of the AsyncCompletedEventArgs class.

AsyncCompletedEventArgs()

Caution

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the AsyncCompletedEventArgs class.

public:
 AsyncCompletedEventArgs();
[System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
public AsyncCompletedEventArgs ();
Public Sub New ()
Attributes

Applies to

AsyncCompletedEventArgs(Exception, Boolean, Object)

Source:
AsyncCompletedEvent.cs
Source:
AsyncCompletedEvent.cs
Source:
AsyncCompletedEvent.cs

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