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
public interface IAttachmentUploadEntry : INotifyPropertyChanged,
IDisposable
public interface class IAttachmentUploadEntry : INotifyPropertyChanged,
IDisposable
type IAttachmentUploadEntry =
interface
interface INotifyPropertyChanged
interface IDisposable
end
Public Interface IAttachmentUploadEntry
Inherits INotifyPropertyChanged, IDisposable
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. |
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() | (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. |
Events
Name | Description | |
---|---|---|
PropertyChanged | (Inherited from INotifyPropertyChanged.) |
See Also
INotifyPropertyChanged
IAttachmentUploadManager
Microsoft.TeamFoundation.TestManagement.Client Namespace
Return to top