IWebRequestCreate 介面

定義

提供建立 WebRequest 執行個體的基底介面。

public interface class IWebRequestCreate
public interface IWebRequestCreate
type IWebRequestCreate = interface
Public Interface IWebRequestCreate
衍生

備註

介面IWebRequestCreate會定義子系必須用來向 WebRequest.Create 方法註冊的方法WebRequest

實作 介面的 IWebRequestCreate 類別可以向 WebRequest 類別註冊,並與特定 URI 配置相關聯, WebRequest 如此一來,當要求的 URI 符合該配置時,呼叫 類別的 Create 方法。

方法

Create(Uri)

建立 WebRequest 執行個體。

適用於