TestResultsHttpClientBase.GetTestSubResultAttachmentZipAsync 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
| GetTestSubResultAttachmentZipAsync(String, Int32, Int32, Int32, Int32, Object, CancellationToken) |
[Preview API] Returns a test sub result attachment |
| GetTestSubResultAttachmentZipAsync(Guid, Int32, Int32, Int32, Int32, Object, CancellationToken) |
[Preview API] Returns a test sub result attachment |
GetTestSubResultAttachmentZipAsync(String, Int32, Int32, Int32, Int32, Object, CancellationToken)
[Preview API] Returns a test sub result attachment
public virtual System.Threading.Tasks.Task<System.IO.Stream> GetTestSubResultAttachmentZipAsync(string project, int runId, int testCaseResultId, int attachmentId, int testSubResultId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTestSubResultAttachmentZipAsync : string * int * int * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>
override this.GetTestSubResultAttachmentZipAsync : string * int * int * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>
Parameters
- project
- String
Project ID or project name
- runId
- Int32
- testCaseResultId
- Int32
- attachmentId
- Int32
- testSubResultId
- Int32
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetTestSubResultAttachmentZipAsync(Guid, Int32, Int32, Int32, Int32, Object, CancellationToken)
[Preview API] Returns a test sub result attachment
public virtual System.Threading.Tasks.Task<System.IO.Stream> GetTestSubResultAttachmentZipAsync(Guid project, int runId, int testCaseResultId, int attachmentId, int testSubResultId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTestSubResultAttachmentZipAsync : Guid * int * int * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>
override this.GetTestSubResultAttachmentZipAsync : Guid * int * int * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>
Parameters
- project
- Guid
Project ID
- runId
- Int32
- testCaseResultId
- Int32
- attachmentId
- Int32
- testSubResultId
- Int32
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.