AsyncCompletedEventArgs()

AsyncCompletedEventArgs::AsyncCompletedEventArgs() constructor

Constructor.

System::ComponentModel::AsyncCompletedEventArgs::AsyncCompletedEventArgs()

AsyncCompletedEventArgs::AsyncCompletedEventArgs(const System::Exception&, bool, const System::SharedPtr<System::Object>&) constructor

Initializes a new instance of the System.ComponentModel.AsyncCompletedEventArgs class.

System::ComponentModel::AsyncCompletedEventArgs::AsyncCompletedEventArgs(const System::Exception &error, bool canceled, const System::SharedPtr<System::Object> &userState)

Arguments

ParameterTypeDescription
errorconst System::Exception&Any error that occurred during the asynchronous operation.
canceledboolA value indicating whether the asynchronous operation was canceled.
userStateconst System::SharedPtr<System::Object>&The optional user-supplied state object passed to the System.ComponentModel.BackgroundWorker.RunWorkerAsync(System.Object) method.

See Also