共用方式為


IAttachmentUploadManager Interface

Provides properties and methods to manage background attachment uploads.

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

Syntax

'Declaration
Public Interface IAttachmentUploadManager
public interface IAttachmentUploadManager
public interface class IAttachmentUploadManager
type IAttachmentUploadManager =  interface end
public interface IAttachmentUploadManager

The IAttachmentUploadManager type exposes the following members.

Properties

  Name Description
Public property Entries Gets the current list of upload entries.
Public property IsReady Returns true if attachment uploader has read the file that contains details of the attachments to be uploaded.
Public property UploadsPending Gets a value that indicates whether any attachment uploads are pending.

Top

Methods

  Name Description
Public method AbandonAllUploads Removes all current entries, whether or not they are completed.
Public method GetRemainingBytesToUpload Gets the total bytes remaining to be uploaded.
Public method PauseUploads Pauses all pending and queued uploads.
Public method RemoveCompletedEntries Removes any entries that have ended, either because they have been successfully uploaded or they have been canceled.
Public method ResumeUploads Queues all the paused uploads.

Top

Events

  Name Description
Public event Changed Raised when any change occurs to the content of this manager, so that the user interface (UI) can be updated.

Top

See Also

Reference

Microsoft.TeamFoundation.TestManagement.Client Namespace

IAttachmentUploadEntry

ITestCaseResultHelper.Save