Export (0) Print
Expand All

WebRequestModuleElement.WebRequestModuleElement(String, Type) Constructor

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

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

public WebRequestModuleElement (
	string prefix,
	Type type
)
public WebRequestModuleElement (
	String prefix, 
	Type type
)
public function WebRequestModuleElement (
	prefix : String, 
	type : Type
)
Not applicable.

Parameters

prefix

A string containing a URI prefix.

type

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

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

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft