Mono Class Library: System.Net.WebResponse Overview | Members

System.Net.WebResponse.ResponseUri Property

Gets the URI of the resource associated with the current instance. [Edit]

public virtual Uri ResponseUri { get; }

Value

A Uri containing the URI of the resource associated with the current response. [Edit]

Exceptions

TypeReason
NotSupportedExceptionThis property is not implemented in the derived class. [Edit]

Remarks

Operation

This property is read-only.

This property returns the URI that provided the response information in the current instance.

Note: If the method protocol used in the associated System.Net.WebRequest permits redirection, the value of this property might differ from the WebRequest.RequestUri property of the request.

The System.Net.WebResponse class is abstract and does not provide an implementation for this property. This property throws NotSupportedException .

Note to Inheritors
This property is required to be overridden by classes that inherit from System.Net.WebResponse.

Usage
Use this property to determine the URI that originated the response.

[Edit]

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0