Поделиться через


IWebRequestCreate Interface

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Provides the base interface for creating WebRequest instances.

Namespace:  System.Net
Assembly:  System.Net (in System.Net.dll)

Syntax

'Declaration
Public Interface IWebRequestCreate
public interface IWebRequestCreate

The IWebRequestCreate type exposes the following members.

Methods

  Name Description
Public methodSupported by Silverlight for Windows Phone Create Creates a WebRequest instance.

Top

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 Create method when a URI that matches that scheme is requested.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

See Also

Reference