Edit

Share via


XamlBuildHttpClient.GetArtifactAsync Method

Definition

Overloads

GetArtifactAsync(Int32, String, Object, CancellationToken)

Gets a specific artifact for a build

GetArtifactAsync(Guid, Int32, String, Object, CancellationToken)

Gets a specific artifact for a build

GetArtifactAsync(String, Int32, String, Object, CancellationToken)

Gets a specific artifact for a build

GetArtifactAsync(Int32, String, Object, CancellationToken)

Gets a specific artifact for a build

public System.Threading.Tasks.Task<Microsoft.TeamFoundation.Build.WebApi.BuildArtifact> GetArtifactAsync (int buildId, string artifactName, object userState = null, System.Threading.CancellationToken cancellationToken = null);
member this.GetArtifactAsync : int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Build.WebApi.BuildArtifact>

Parameters

buildId
Int32
artifactName
String
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetArtifactAsync(Guid, Int32, String, Object, CancellationToken)

Gets a specific artifact for a build

public System.Threading.Tasks.Task<Microsoft.TeamFoundation.Build.WebApi.BuildArtifact> GetArtifactAsync (Guid project, int buildId, string artifactName, object userState = null, System.Threading.CancellationToken cancellationToken = null);
member this.GetArtifactAsync : Guid * int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Build.WebApi.BuildArtifact>

Parameters

project
Guid

Project ID

buildId
Int32
artifactName
String
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetArtifactAsync(String, Int32, String, Object, CancellationToken)

Gets a specific artifact for a build

public System.Threading.Tasks.Task<Microsoft.TeamFoundation.Build.WebApi.BuildArtifact> GetArtifactAsync (string project, int buildId, string artifactName, object userState = null, System.Threading.CancellationToken cancellationToken = null);
member this.GetArtifactAsync : string * int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Build.WebApi.BuildArtifact>

Parameters

project
String

Project ID or project name

buildId
Int32
artifactName
String
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to