Encapsulates a stream of bytes that is stored on the test management server.
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
'Declaration Public Interface ITestAttachment _ Inherits INotifyPropertyChanged
public interface ITestAttachment : INotifyPropertyChanged
public interface class ITestAttachment : INotifyPropertyChanged
type ITestAttachment = interface interface INotifyPropertyChanged end
public interface ITestAttachment extends INotifyPropertyChanged
The ITestAttachment type exposes the following members.
|ArtifactUri||Gets a uniform resource identifier (URI) that is used by the framework as a unique identifier for this attachment, or to create links to this attachment.|
|AttachmentType||Gets or sets the type of the attachment.|
|Comment||Gets or sets a comment about the attachment.|
|IsComplete||Gets a value that indicates whether the attachment is still being uploaded.|
|Length||Gets the length of the attachment, in bytes.|
|Name||Gets or sets the name of the attachment.|
|Uri||Gets the URI to retrieve the contents of the attachment.|
|AssociateWorkItem||Associates the provided work item with this test result attachment.|
|DisassociateWorkItem||Removes an existing association between the provided work item and this attachment.|
|DownloadToArray||Downloads the attachment contents to the provided byte array after the associated work item has been saved to the server.|
|DownloadToFile||Downloads the attachment contents to the named file after the associated work item has been saved to the server.|
|PropertyChanged||Occurs when a property value changes. (Inherited from INotifyPropertyChanged.)|
This interface cannot be derived from.