Share via


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: Uri

    The 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

See Also

Reference

WebTestRequest Class

WebTestRequest Overload

Microsoft.VisualStudio.TestTools.WebTesting Namespace