WebTestResponse.ResponseUri Property
Gets the URI of the Internet resource that responded to the request.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public ReadOnly Property ResponseUri As Uri
'Usage
Dim instance As WebTestResponse
Dim value As Uri
value = instance.ResponseUri
public Uri ResponseUri { get; }
public:
property Uri^ ResponseUri {
Uri^ get ();
}
public function get ResponseUri () : Uri
Property Value
Type: System.Uri
A Uri that contains the URI of the Internet resource that responded to the request.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The current instance has been disposed. |
Remarks
The ResponseUri property contains the URI of the internet resource that actually responded to the request. This URI might not be the same as the originally requested URI, if the original server redirected the request.
.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.
See Also
Reference
Microsoft.VisualStudio.TestTools.WebTesting Namespace