WebTestRequest Constructor (Uri)
Initializes a new instance of the WebTestRequest class by using a Uri object.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Sub New ( _
requestUri As Uri _
)
public WebTestRequest(
Uri requestUri
)
public:
WebTestRequest(
Uri^ requestUri
)
new :
requestUri:Uri -> WebTestRequest
public function WebTestRequest(
requestUri : Uri
)
Parameters
requestUri
Type: UriThe Uri object that contains information about the resource that is being tested.
Remarks
This constructor uses the same default values as the WebTestRequest constructor that takes a string.
.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.