Method | 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.
|
Method | Description | |
---|---|---|
Complete ( object result ) : void |
Completes the associated task with the specified result.
|
Method | 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. |
return | void |
protected Complete ( object result ) : void | ||
result | object | The result of completing the task. |
return | void |