Mono Class Library: System.Net.WebRequest Overview | MembersSystem.Net.WebRequest.RequestUri Property |
Gets the Uri of the resource associated with the current instance. [Edit]
|
A Uri containing the URI of the resource associated with the current instance [Edit]
Type Reason NotSupportedException This property is not implemented in the derived class. [Edit]
This property is read-only.
Operation
WebRequest.RequestUri is required to contain the URI passed to the WebRequest.Create(Uri, bool) methods. If the protocol implemented by a derived class supports redirection, the derived class is required to provide a property to contain the URI that actually services the request.This property throws a NotSupportedException exception.
Note to Inheritors
This property must be overridden by classes that inherit from System.Net.WebRequest to provide this functionality. ]Usage
Use this property to determine the URI that the request was addressed to. For information about the URI that actually serviced the request, see WebResponse.ResponseUri . [Edit]
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0