IBuildCancellationAwareHostObject Interface

Definition

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

public interface IBuildCancellationAwareHostObject
type IBuildCancellationAwareHostObject = interface
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