Bearbeiten

Freigeben über


TaskHttpClientBase.GetAttachmentContentAsync Method

Definition

[Preview API]

public virtual System.Threading.Tasks.Task<System.IO.Stream> GetAttachmentContentAsync(Guid scopeIdentifier, string hubName, Guid planId, Guid timelineId, Guid recordId, string type, string name, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetAttachmentContentAsync : Guid * string * Guid * Guid * Guid * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>
override this.GetAttachmentContentAsync : Guid * string * Guid * Guid * Guid * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>

Parameters

scopeIdentifier
Guid

The project GUID to scope the request

hubName
String

The name of the server hub: "build" for the Build server or "rm" for the Release Management server

planId
Guid
timelineId
Guid
recordId
Guid
type
String
name
String
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to