Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
public interface IAttachmentUploadEntry : INotifyPropertyChanged
public interface class IAttachmentUploadEntry : INotifyPropertyChanged
type IAttachmentUploadEntry =
interface
interface INotifyPropertyChanged
end
public interface IAttachmentUploadEntry extends INotifyPropertyChanged
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. |
![]() |
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. |
![]() |
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