Méthode | Description | |
---|---|---|
Cancel ( ) : void |
Cancels the completion of the associated task.
|
|
Complete ( Exception error ) : void |
Completes the associated task with the specified error.
|
|
MarkErrorAsHandled ( ) : void |
Marks the error as handled.
|
Méthode | Description | |
---|---|---|
Complete ( object result ) : void |
Completes the associated task with the specified result.
|
Méthode | Description | |
---|---|---|
Async ( bool supportsCancel ) : System | ||
CancelCore ( ) : void | ||
Complete ( object result, Exception error ) : void | ||
GetDefaultResult ( ) : object |
public Complete ( Exception error ) : void | ||
error | Exception | The error that occurred while completing the task. |
Résultat | void |
protected Complete ( object result ) : void | ||
result | object | The result of completing the task. |
Résultat | void |