Edit

TestResultsHttpClient.GetTcmResultAttachmentContentAsync Method

Definition

[Preview API] Returns a test result attachment

public virtual System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.TestResults.WebApi.Attachment> GetTcmResultAttachmentContentAsync(Guid project, int runId, int testCaseResultId, int attachmentId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTcmResultAttachmentContentAsync : Guid * int * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.TestResults.WebApi.Attachment>
override this.GetTcmResultAttachmentContentAsync : Guid * int * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.TestResults.WebApi.Attachment>

Parameters

project
Guid

Project ID

runId
Int32
testCaseResultId
Int32
attachmentId
Int32
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to