Edit

Share via


WorkItemTrackingHttpClient.CreateAttachmentAsync Method

Definition

public System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.AttachmentReference> CreateAttachmentAsync (string fileName, string uploadType = null, string areaPath = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
override this.CreateAttachmentAsync : string * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.AttachmentReference>

Parameters

fileName
String
uploadType
String
areaPath
String
userState
Object
cancellationToken
CancellationToken

Returns

Applies to