TestResultsHttpClient.GetTcmSubResultAttachmentContentAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Preview API] Returns a test Sub result attachment
public virtual System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.TestResults.WebApi.Attachment> GetTcmSubResultAttachmentContentAsync(Guid project, int runId, int testCaseResultId, int testSubResultId, int attachmentId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTcmSubResultAttachmentContentAsync : Guid * int * int * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.TestResults.WebApi.Attachment>
override this.GetTcmSubResultAttachmentContentAsync : Guid * int * 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
- testSubResultId
- Int32
- attachmentId
- Int32
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.