Поделиться через


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

See Also

Reference

WebTestResponse Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace

Other Resources

HTTP