Creates a new WebRequest instance for the specified URI scheme.
[Visual Basic] Overloads Public Shared Function Create( _ ByVal RequestUrlString As String _ ) As WebRequest [C#] public static WebRequest Create( string RequestUrlString ); [C++] public: static WebRequest* Create( String* RequestUrlString ); [JScript] public static function Create( RequestUrlString : String ) : WebRequest;
A WebRequest descendent for the specific URI scheme.
Exception Type | Condition |
---|---|
NotSupportedException | The request scheme specified in RequestURLString has not been registered. |
RequestURLString is used to create a URI instance that is passed to the created WebRequest.
WebRequestFactory Class | WebRequestFactory Members | System.Net Namespace | WebRequestFactory.Create Overload List