AsyncCompletedEventArgs AsyncCompletedEventArgs AsyncCompletedEventArgs AsyncCompletedEventArgs Constructors

Определение

Перегрузки

AsyncCompletedEventArgs() AsyncCompletedEventArgs() AsyncCompletedEventArgs()

Инициализирует новый экземпляр класса AsyncCompletedEventArgs.Initializes a new instance of the AsyncCompletedEventArgs class.

AsyncCompletedEventArgs(Exception, Boolean, Object) AsyncCompletedEventArgs(Exception, Boolean, Object) AsyncCompletedEventArgs(Exception, Boolean, Object) AsyncCompletedEventArgs(Exception, Boolean, Object)

Инициализирует новый экземпляр класса AsyncCompletedEventArgs.Initializes a new instance of the AsyncCompletedEventArgs class.

AsyncCompletedEventArgs() AsyncCompletedEventArgs() AsyncCompletedEventArgs()

Предупреждение

Этот API устарел.

Инициализирует новый экземпляр класса AsyncCompletedEventArgs.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 ()

AsyncCompletedEventArgs(Exception, Boolean, Object) AsyncCompletedEventArgs(Exception, Boolean, Object) AsyncCompletedEventArgs(Exception, Boolean, Object) AsyncCompletedEventArgs(Exception, Boolean, Object)

Инициализирует новый экземпляр класса AsyncCompletedEventArgs.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);
new System.ComponentModel.AsyncCompletedEventArgs : Exception * bool * obj -> System.ComponentModel.AsyncCompletedEventArgs
Public Sub New (error As Exception, cancelled As Boolean, userState As Object)

Параметры

error
Exception Exception Exception Exception

Любая ошибка, возникающая в ходе асинхронной операции.Any error that occurred during the asynchronous operation.

cancelled
Boolean Boolean Boolean Boolean

Значение, показывающее, была ли отменена асинхронная операция.A value indicating whether the asynchronous operation was canceled.

userState
Object Object Object Object

Необязательный заданный пользователем объект состояния, переданный методу RunWorkerAsync(Object).The optional user-supplied state object passed to the RunWorkerAsync(Object) method.

Применяется к