IBuildCancellationAwareHostObject.SetCancellationToken Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set the build cancellation token that the host object can use for cancelling operations when build is cancelled.
public void SetCancellationToken (System.Threading.CancellationToken cancellationToken);
abstract member SetCancellationToken : System.Threading.CancellationToken -> unit
Public Sub SetCancellationToken (cancellationToken As CancellationToken)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.