Επεξεργασία

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


ExtensionElement Constructors

Definition

Initializes a new instance of the ExtensionElement class.

Overloads

ExtensionElement()

Initializes a new instance of the ExtensionElement class.

ExtensionElement(String)

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

ExtensionElement(String, String)

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

ExtensionElement()

Initializes a new instance of the ExtensionElement class.

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

Applies to

ExtensionElement(String)

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

public:
 ExtensionElement(System::String ^ name);
public ExtensionElement (string name);
new System.ServiceModel.Configuration.ExtensionElement : string -> System.ServiceModel.Configuration.ExtensionElement
Public Sub New (name As String)

Parameters

name
String

A unique name of this configuration element.

Exceptions

name is null or empty.

Applies to

ExtensionElement(String, String)

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

public:
 ExtensionElement(System::String ^ name, System::String ^ type);
public ExtensionElement (string name, string type);
new System.ServiceModel.Configuration.ExtensionElement : string * string -> System.ServiceModel.Configuration.ExtensionElement
Public Sub New (name As String, type As String)

Parameters

name
String

A unique name of this configuration element.

type
String

The type of this configuration element.

Exceptions

type is null or empty.

-or-

name is null or empty.

Applies to