通过


WebRequestModuleElement 构造函数

定义

初始化 WebRequestModuleElement 类的新实例。

重载

名称 说明
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

标识 Type 用于处理为使用 URI 前缀的资源创建请求的 prefix 类。

注解

Prefix 属性设置为 , prefix 并且属性 Type 设置为 type.

适用于