Export (0) Print
Expand All

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

The IAttachmentUploadEntry type exposes the following members.

  NameDescription
Public propertyAttachmentGets an ITestAttachment that represents the associated attachment.
Public propertyBytesTransferredGets the number of bytes that have been uploaded.
Public propertyDateCompletedGets the date and time that the upload was completed.
Public propertyDateStartedGets the date and time that the upload was started.
Public propertyIsMarkedForDeletionGets a value that indicates whether the source of the attachment should be deleted after the upload is completed or canceled.
Public propertyLocalFileNameGets the file name for the local attachment file.
Public propertyPauseReasonIf the upload has been paused, gets the reason that it has been paused.
Public propertyProjectNameGets the name of the test project.
Public propertyServerGets the server to which the attachment is being uploaded.
Public propertyTestResultIdGets the ID for the test result.
Public propertyTestRunIdGets the ID for the test run.
Public propertyUploadStateGets the current state of the upload.
Top

  NameDescription
Public methodCancelStops the upload and, if the source of the attachment is marked for deletion, deletes the source, then changes the state to Cancelled.
Public methodEnqueueAdds the attachment to the queue and starts uploading as soon as possible.
Public methodPauseStops uploading the attachment until the Enqueue method is called.
Top

  NameDescription
Public eventPropertyChangedOccurs when a property value changes. (Inherited from INotifyPropertyChanged.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft