TestHttpClientBase.GetTestResultAttachmentsAsync Method
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.
GetTestResultAttachmentsAsync(Guid, Int32, Int32, Object, CancellationToken) |
[Preview API] Get list of test result attachments reference. |
GetTestResultAttachmentsAsync(String, Int32, Int32, Object, CancellationToken) |
[Preview API] Get list of test result attachments reference. |
[Preview API] Get list of test result attachments reference.
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestAttachment>> GetTestResultAttachmentsAsync (Guid project, int runId, int testCaseResultId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTestResultAttachmentsAsync : Guid * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestAttachment>>
override this.GetTestResultAttachmentsAsync : Guid * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestAttachment>>
Parameters
- project
- Guid
Project ID
- runId
- Int32
ID of the test run that contains the result.
- testCaseResultId
- Int32
ID of the test result.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
Azure DevOps Services .NET SDK latest ve Azure DevOps Services .NET SDK preview
Ürün | Sürümler |
---|---|
Azure DevOps Services .NET SDK | preview, latest |
[Preview API] Get list of test result attachments reference.
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestAttachment>> GetTestResultAttachmentsAsync (string project, int runId, int testCaseResultId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTestResultAttachmentsAsync : string * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestAttachment>>
override this.GetTestResultAttachmentsAsync : string * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestAttachment>>
Parameters
- project
- String
Project ID or project name
- runId
- Int32
ID of the test run that contains the result.
- testCaseResultId
- Int32
ID of the test result.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
Azure DevOps Services .NET SDK latest ve Azure DevOps Services .NET SDK preview
Ürün | Sürümler |
---|---|
Azure DevOps Services .NET SDK | preview, latest |