UriDataAttachment Constructor
Initializes a new instance of the UriDataAttachment class by using the description and URI.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public Sub New ( _
description As String, _
uri As Uri _
)
public UriDataAttachment(
string description,
Uri uri
)
public:
UriDataAttachment(
String^ description,
Uri^ uri
)
new :
description:string *
uri:Uri -> UriDataAttachment
public function UriDataAttachment(
description : String,
uri : Uri
)
Parameters
description
Type: StringShort description for the attachment.
uri
Type: UriThe URI that points to the resource.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.