Επεξεργασία

Κοινή χρήση μέσω


WebRequestModuleElement Constructors

Definition

Initializes a new instance of the WebRequestModuleElement class.

Overloads

WebRequestModuleElement()

Initializes a new instance of the WebRequestModuleElement class.

WebRequestModuleElement(String, String)

Initializes a new instance of the WebRequestModuleElement class using the specified URI prefix and type information.

WebRequestModuleElement(String, Type)

Initializes a new instance of the WebRequestModuleElement class using the specified URI prefix and type identifier.

WebRequestModuleElement()

Initializes a new instance of the WebRequestModuleElement class.

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

Applies to

WebRequestModuleElement(String, String)

Initializes a new instance of the WebRequestModuleElement class using the specified URI prefix and type information.

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)

Parameters

prefix
String

A string containing a URI prefix.

type
String

A string containing the type and assembly information for the class that handles creating requests for resources that use the prefix URI prefix.

Remarks

The type parameter contains the fully qualified type name followed by a comma (,) and the assembly information. The elements of the assembly information are separated with commas, for example, "System.Net.DigestClient, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".

The Prefix property is set to prefix and the Type property is set to type.

Applies to

WebRequestModuleElement(String, Type)

Initializes a new instance of the WebRequestModuleElement class using the specified URI prefix and type identifier.

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)

Parameters

prefix
String

A string containing a URI prefix.

type
Type

A Type that identifies the class that handles creating requests for resources that use the prefix URI prefix.

Remarks

The Prefix property is set to prefix and the Type property is set to type.

Applies to