TestHttpClientBase.GetTestRunAttachmentsAsync 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.
Overloads
| GetTestRunAttachmentsAsync(Guid, Int32, Object, CancellationToken) |
[Preview API] Get list of test run attachments reference. |
| GetTestRunAttachmentsAsync(String, Int32, Object, CancellationToken) |
[Preview API] Get list of test run attachments reference. |
GetTestRunAttachmentsAsync(Guid, Int32, Object, CancellationToken)
[Preview API] Get list of test run attachments reference.
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestAttachment>> GetTestRunAttachmentsAsync(Guid project, int runId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTestRunAttachmentsAsync : Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestAttachment>>
override this.GetTestRunAttachmentsAsync : Guid * 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.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetTestRunAttachmentsAsync(String, Int32, Object, CancellationToken)
[Preview API] Get list of test run attachments reference.
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestAttachment>> GetTestRunAttachmentsAsync(string project, int runId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTestRunAttachmentsAsync : string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestAttachment>>
override this.GetTestRunAttachmentsAsync : string * 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.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.