Επεξεργασία

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


RunWorkerCompletedEventArgs(Object, Exception, Boolean) Constructor

Definition

Initializes a new instance of the RunWorkerCompletedEventArgs class.

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

Parameters

result
Object

The result of an asynchronous operation.

error
Exception

Any error that occurred during the asynchronous operation.

cancelled
Boolean

A value indicating whether the asynchronous operation was canceled.

Applies to

See also