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)
Syntax
'Declaration
Public Interface IAttachmentUploadEntry _
Inherits INotifyPropertyChanged, IDisposable
public interface IAttachmentUploadEntry : INotifyPropertyChanged,
IDisposable
public interface class IAttachmentUploadEntry : INotifyPropertyChanged,
IDisposable
type IAttachmentUploadEntry =
interface
interface INotifyPropertyChanged
interface IDisposable
end
public interface IAttachmentUploadEntry extends INotifyPropertyChanged, IDisposable
The IAttachmentUploadEntry type exposes the following members.
Properties
Name | Description | |
---|---|---|
Attachment | Gets an ITestAttachment that represents the associated attachment. | |
BytesTransferred | Gets the number of bytes that have been uploaded. | |
DateCompleted | Gets the date and time that the upload was completed. | |
DateStarted | Gets the date and time that the upload was started. | |
IsMarkedForDeletion | Gets a value that indicates whether the source of the attachment should be deleted after the upload is completed or canceled. | |
Length | Returns total uncompressed length of the attachment | |
LocalFileName | Gets the file name for the local attachment file. | |
PauseReason | If the upload has been paused, gets the reason that it has been paused. | |
ProjectName | Gets the name of the test project. | |
Server | Gets the server to which the attachment is being uploaded. | |
TestResultId | Gets the ID for the test result. | |
TestRunId | Gets the ID for the test run. | |
UploadState | Gets the current state of the upload. |
Top
Methods
Name | Description | |
---|---|---|
Cancel | Stops the upload and, if the source of the attachment is marked for deletion, deletes the source, then changes the state to Cancelled. | |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
Enqueue | Adds the attachment to the queue and starts uploading as soon as possible. | |
Pause | Stops uploading the attachment until the Enqueue method is called. |
Top
Events
Name | Description | |
---|---|---|
PropertyChanged | Occurs when a property value changes. (Inherited from INotifyPropertyChanged.) |
Top