Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IAttachmentUploadEntry Interface

 

Represents the information in IAttachmentUploadManager to track the background upload of a single attachment.

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

public interface IAttachmentUploadEntry : INotifyPropertyChanged, 
	IDisposable

NameDescription
System_CAPS_pubpropertyAttachment

Gets an ITestAttachment that represents the associated attachment.

System_CAPS_pubpropertyBytesTransferred

Gets the number of bytes that have been uploaded.

System_CAPS_pubpropertyDateCompleted

Gets the date and time that the upload was completed.

System_CAPS_pubpropertyDateStarted

Gets the date and time that the upload was started.

System_CAPS_pubpropertyIsMarkedForDeletion

Gets a value that indicates whether the source of the attachment should be deleted after the upload is completed or canceled.

System_CAPS_pubpropertyLength

Returns total uncompressed length of the attachment

System_CAPS_pubpropertyLocalFileName

Gets the file name for the local attachment file.

System_CAPS_pubpropertyPauseReason

If the upload has been paused, gets the reason that it has been paused.

System_CAPS_pubpropertyProjectName

Gets the name of the test project.

System_CAPS_pubpropertyServer

Gets the server to which the attachment is being uploaded.

System_CAPS_pubpropertyTestResultId

Gets the ID for the test result.

System_CAPS_pubpropertyTestRunId

Gets the ID for the test run.

System_CAPS_pubpropertyUploadState

Gets the current state of the upload.

NameDescription
System_CAPS_pubmethodCancel()

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

System_CAPS_pubmethodDispose()

(Inherited from IDisposable.)

System_CAPS_pubmethodEnqueue()

Adds the attachment to the queue and starts uploading as soon as possible.

System_CAPS_pubmethodPause()

Stops uploading the attachment until the Enqueue method is called.

NameDescription
System_CAPS_pubeventPropertyChanged

(Inherited from INotifyPropertyChanged.)

Return to top
Show: