AttachContainerToBuildAsync(AttachedContainer container, System.Threading.CancellationToken cancellationToken) Method

Attaches the specified container to the current build.

Syntax

public abstract System.Threading.Tasks.Task AttachContainerToBuildAsync(AttachedContainer container, System.Threading.CancellationToken cancellationToken)

Parameters

container
Type: AttachedContainer

The container to attach.

cancellationToken
Type: System.Threading.CancellationToken

Cancellation token.

Exceptions

System.ArgumentNullException

container is null (Nothing in Visual Basic).