語言

WebRequestModuleElement 建構函式

定義

初始化 WebRequestModuleElement 類別的新執行個體。

多載

名稱 Description
WebRequestModuleElement()

初始化 WebRequestModuleElement 類別的新執行個體。

WebRequestModuleElement(String, String)

使用指定的 URI 前綴與型態資訊初始化該類別的新 WebRequestModuleElement 實例。

WebRequestModuleElement(String, Type)

使用指定的 URI 前綴與類型識別碼初始化類別的新實例 WebRequestModuleElement 。

WebRequestModuleElement()

初始化 WebRequestModuleElement 類別的新執行個體。

public:
 WebRequestModuleElement();
public WebRequestModuleElement();
Public Sub New ()

適用於

WebRequestModuleElement(String, String)

使用指定的 URI 前綴與型態資訊初始化該類別的新 WebRequestModuleElement 實例。

public:
 WebRequestModuleElement(System::String ^ prefix, System::String ^ type);
public WebRequestModuleElement(string prefix, string type);
new System.Net.Configuration.WebRequestModuleElement : string * string -> System.Net.Configuration.WebRequestModuleElement
Public Sub New (prefix As String, type As String)

參數

prefix
String

包含 URI 前綴的字串。

type
String

一個包含類別類型與組合資訊的字串,該類別負責建立使用 prefix URI 前綴資源的請求。

備註

參數 type 包含完全限定型別名稱,後接逗號(,),以及組合語言資訊。 組合資訊的元素以逗號分隔,例如「System.Net.DigestClient, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"。

Prefix屬性設為 prefix ,屬性Type設為 type。

適用於

WebRequestModuleElement(String, Type)

使用指定的 URI 前綴與類型識別碼初始化類別的新實例 WebRequestModuleElement 。

public:
 WebRequestModuleElement(System::String ^ prefix, Type ^ type);
public WebRequestModuleElement(string prefix, Type type);
new System.Net.Configuration.WebRequestModuleElement : string * Type -> System.Net.Configuration.WebRequestModuleElement
Public Sub New (prefix As String, type As Type)

參數

prefix
String

包含 URI 前綴的字串。

type
Type

A Type 用來識別負責建立資源 prefix 請求的類別,這些請求使用了 URI 前綴。

備註

Prefix屬性設為 prefix ,屬性Type設為 type。

適用於