public interface IWebRequestCreate
System
Networking
Provides a mechanism for creating new WebRequest instances.
[Note: The System.Net.IWebRequestCreate.Create(System.Uri) method is implemented by types that derive from WebRequest. The System.Net.IWebRequestCreate.Create(System.Uri) method is invoked via the System.Net.WebRequest.Create(System.Uri,System.Boolean) method.Types that implement the IWebRequestCreate interface are associated with a specific URI scheme and registered with the WebRequest class. When an application requests a
WebRequest
object for a specific URI, WebRequest calls the System.Net.IWebRequestCreate.Create(System.Uri) method of the type associated with the requested URI.]
System.Net Namespace
IWebRequestCreate Methods
WebRequest Create(Uri uri);
Returns a WebRequest instance.
- uri
- The Uri to be associated with the new instance.
A new WebRequest instance.
[Behaviors: This method returns a new instance of a type that derives from WebRequest .]
[Usage: This method is used by the WebRequest class.]
System.Net.IWebRequestCreate Interface, System.Net Namespace