ExtensionElement Constructor (String, String)

 

Initializes a new instance of the ExtensionElement class with a specified name and type.

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

public ExtensionElement(
	string name,
	string type
)

Parameters

name
Type: System.String

A unique name of this configuration element.

type
Type: System.String

The type of this configuration element.

Exception Condition
ArgumentNullException

type is null or empty.

-or-

name is null or empty.

.NET Framework
Available since 3.0
Return to top
Show: