Cancellation

Cancellation class

Represents an object for requesting cancellation of an operation.

public class Cancellation

Constructors

Name Description
Cancellation() Initializes a new instance of the Cancellation class.

Properties

Name Description
IsCancelled { get; } Gets a value indicating that cancellation has been requested.

Methods

Name Description
Cancel() Makes a request for cancellation.
CancelAfter(int) Makes a request for cancellation after the expiration of specified number of milliseconds.

Remarks

Learn more

See Also