ITestResultsHttpClient.CreateTestRunAttachmentAsync 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
| CreateTestRunAttachmentAsync(TestAttachmentRequestModel, Guid, Int32, Object, CancellationToken) | |
| CreateTestRunAttachmentAsync(TestAttachmentRequestModel, String, Int32, Object, CancellationToken) |
CreateTestRunAttachmentAsync(TestAttachmentRequestModel, Guid, Int32, Object, CancellationToken)
public System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestAttachmentReference> CreateTestRunAttachmentAsync(Microsoft.TeamFoundation.TestManagement.WebApi.TestAttachmentRequestModel attachmentRequestModel, Guid project, int runId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member CreateTestRunAttachmentAsync : Microsoft.TeamFoundation.TestManagement.WebApi.TestAttachmentRequestModel * Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestAttachmentReference>
Parameters
- attachmentRequestModel
- TestAttachmentRequestModel
- project
- Guid
- runId
- Int32
- userState
- Object
- cancellationToken
- CancellationToken
Returns
Applies to
CreateTestRunAttachmentAsync(TestAttachmentRequestModel, String, Int32, Object, CancellationToken)
public System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestAttachmentReference> CreateTestRunAttachmentAsync(Microsoft.TeamFoundation.TestManagement.WebApi.TestAttachmentRequestModel attachmentRequestModel, string project, int runId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member CreateTestRunAttachmentAsync : Microsoft.TeamFoundation.TestManagement.WebApi.TestAttachmentRequestModel * string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestAttachmentReference>
Parameters
- attachmentRequestModel
- TestAttachmentRequestModel
- project
- String
- runId
- Int32
- userState
- Object
- cancellationToken
- CancellationToken