TestResultsHttpClientBase.GetTestSubResultAttachmentsAsync 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
| GetTestSubResultAttachmentsAsync(Guid, Int32, Int32, Int32, Object, CancellationToken) |
[Preview API] Returns attachment references for test sub result. |
| GetTestSubResultAttachmentsAsync(String, Int32, Int32, Int32, Object, CancellationToken) |
[Preview API] Returns attachment references for test sub result. |
GetTestSubResultAttachmentsAsync(Guid, Int32, Int32, Int32, Object, CancellationToken)
[Preview API] Returns attachment references for test sub result.
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestAttachment>> GetTestSubResultAttachmentsAsync(Guid project, int runId, int testCaseResultId, int testSubResultId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTestSubResultAttachmentsAsync : Guid * int * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestAttachment>>
override this.GetTestSubResultAttachmentsAsync : Guid * int * 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
- testCaseResultId
- Int32
- testSubResultId
- Int32
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetTestSubResultAttachmentsAsync(String, Int32, Int32, Int32, Object, CancellationToken)
[Preview API] Returns attachment references for test sub result.
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestAttachment>> GetTestSubResultAttachmentsAsync(string project, int runId, int testCaseResultId, int testSubResultId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTestSubResultAttachmentsAsync : string * int * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestAttachment>>
override this.GetTestSubResultAttachmentsAsync : string * int * 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
- testCaseResultId
- Int32
- testSubResultId
- Int32
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.