IBuildCancellationAwareHostObject Interface

Definition

Allows for a host object to be able to use a CancellationToken that is triggered when build is cancelled.

C#
public interface IBuildCancellationAwareHostObject

Methods

SetCancellationToken(CancellationToken)

Set the build cancellation token that the host object can use for cancelling operations when build is cancelled.

Applies to

Produit Versions
Visual Studio SDK 2022