Method CancelAsync
CancelAsync()
Cancels this job and waits for any asynchronous server-side operations to be canceled.
Declaration
public Task<bool> CancelAsync()
Returns
Type | Description |
---|---|
System. |
The task returns |
Remarks
The job is canceled and will result in a Failed status after all cancellation tasks have completed. For
jobs running on a server, a cancel request is sent for the associated Server
In addition, the Generate
Upon calling this method, the Status is immediately set to Canceling.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.14 - 200.6 |
.NET | 100.14 - 200.6 |
.NET Windows | 100.14 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.14 - 200.6 |
Xamarin.Android | 100.14 - 100.15 |
Xamarin.iOS | 100.14 - 100.15 |
UWP | 100.14 - 200.6 |