WebRequestModuleElement Constructor (String^, String^)

 

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

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

public:
WebRequestModuleElement(
	String^ prefix,
	String^ type
)

Parameters

prefix
Type: System::String^

A string containing a URI prefix.

type
Type: System::String^

A string containing the type and assembly information for the class that handles creating requests for resources that use the prefix URI prefix. For more information, see the Remarks section.

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.

.NET Framework
Available since 2.0
Return to top
Show: