NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

WebRequestFactory.Create (String)

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;

Parameters

RequestUrlString
A URI.

Return Value

A WebRequest descendent for the specific URI scheme.

Exceptions

Exception Type Condition
NotSupportedException The request scheme specified in RequestURLString has not been registered.

Remarks

RequestURLString is used to create a URI instance that is passed to the created WebRequest.

See Also

WebRequestFactory Class | WebRequestFactory Members | System.Net Namespace | WebRequestFactory.Create Overload List