UriDataAttachment Class

Definition

Provides an implementation of IDataAttachment for sending any resource that can be accessed by a uniform resource identifier (URI) as an attachment.

C++
public ref class UriDataAttachment : Microsoft::VisualStudio::TestTools::Common::IDataAttachment, Microsoft::VisualStudio::TestTools::Common::Xml::IXmlTestStore
Inheritance
UriDataAttachment
Attributes
Implements

Constructors

UriDataAttachment(String, Uri)

Initializes a new instance of the UriDataAttachment class by using the description and URI.

Properties

Description

Gets the description for the attachment.

Uri

Gets the URI that can be used to obtain the data of this attachment.

Methods

Load(XmlElement, XmlTestStoreParameters)

Loads an instance of this class from the provided XML element by using the provided parameters.

Save(XmlElement, XmlTestStoreParameters)

Saves this object in the provided XML element by using the provided parameters.

Applies to

Proizvod Verzije
Visual Studio SDK 2017, 2019, 2022