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 Property ResponseUri As Uri
public Uri ResponseUri { get; internal set; }
public:
property Uri^ ResponseUri {
Uri^ get ();
internal: void set (Uri^ value);
}
member ResponseUri : Uri with get, internal set
function get ResponseUri () : Uri
internal function set ResponseUri (value : Uri)
Property Value
Type: 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