System.Net.IWebRequestCreate Interface

Assembly: System.dll
Namespace: System.Net
Summary
Provides the base interface for creating WebRequest instances.
C# Syntax:
public interface IWebRequestCreate
Remarks
The IWebRequestCreate interface defines the method that WebRequest descendants must use to register with the WebRequest.Create method.

Classes that implement the IWebRequestCreate interface can be registered with the WebRequest class and associated with a specific URI scheme so that the WebRequest calls the class's IWebRequestCreate.Create method when a URI matching that scheme is requested.

See also:
System.Net Namespace

System.Net.IWebRequestCreate Member List:

Public Methods
Create Creates a WebRequest instance.

System.Net.IWebRequestCreate Member Details

Method: Create(
   Uri uri
)
Summary
Creates a WebRequest instance.
C# Syntax:
WebRequest Create(
   Uri uri
);
Parameters:

uri

The uniform resource identifier (URI) of the Web resource.

Return Value:
A WebRequest instance.
Remarks
The IWebRequestCreate.Create method must return an initialized instance of the WebRequest descendant capable of performing a standard request/response transaction for the protocol without needing any protocol-specific fields modified.

Return to top


Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.