AttachPackageToBuildAsync(AttachedPackage package, System.Threading.CancellationToken cancellationToken) Method

Attaches the specified package to the current build.

Syntax

public abstract System.Threading.Tasks.Task AttachPackageToBuildAsync(AttachedPackage package, System.Threading.CancellationToken cancellationToken)

Parameters

package
Type: AttachedPackage

The package to attach.

cancellationToken
Type: System.Threading.CancellationToken

Cancellation token.

Exceptions

System.ArgumentNullException

package is null (Nothing in Visual Basic).