Delen via


IAttachmentUploadEntry.Cancel Method

Stops the upload and, if the source of the attachment is marked for deletion, deletes the source, then changes the state to Cancelled.

Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntax

'Declaration
Sub Cancel
void Cancel()
void Cancel()
abstract Cancel : unit -> unit
function Cancel()

Remarks

Allowed only if the state is Failed, Queued, or Uploading.

.NET Framework Security

See Also

Reference

IAttachmentUploadEntry Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace

UploadState