Creates a request to Uri and returns the response from the server.
Declaration Syntax
C# | Visual Basic | Visual C++ |
protected virtual HttpWebResponse Request( Uri uri )
Protected Overridable Function Request ( _ uri As Uri _ ) As HttpWebResponse
protected: virtual HttpWebResponse^ Request( Uri^ uri )
Parameters
- uri (Uri)
Remarks
Uses authentication settings from Configuration. Sets the FileType for this file.
Exceptions
Exception | Condition |
---|---|
ProtocolViolationException if Uri protocol is invalid | |
WebException if a web exception occurs, or if redirection to error page occurs |