InvokeCompletedEventArgs()

InvokeCompletedEventArgs::InvokeCompletedEventArgs(Exception, bool, System::SharedPtr<Object>, System::ArrayPtr<System::SharedPtr<Object>>) constructor

Constructs a new instance.

System::Web::Services::Protocols::InvokeCompletedEventArgs::InvokeCompletedEventArgs(Exception error, bool cancelled, System::SharedPtr<Object> userState, System::ArrayPtr<System::SharedPtr<Object>> results)

Arguments

ParameterTypeDescription
errorExceptionAny error that occurred during an asynchronous operation.
cancelledboolA value that indicates if an asynchronous operation is canceled.
userStateSystem::SharedPtr<Object>The optional user-supplied state object passed to the System.ComponentModel.BackgroundWorker.RunWorkerAsync(System.Object) method.
resultsSystem::ArrayPtr<System::SharedPtr<Object>>A collection of asynchronous operation results.

See Also