ServiceElement 建構函式

定義

初始化 ServiceElement 類別的新執行個體。Initializes a new instance of the ServiceElement class.

多載

ServiceElement()

初始化 ServiceElement 類別的新執行個體。Initializes a new instance of the ServiceElement class.

ServiceElement(String)

使用要產生之服務的型別,初始化 ServiceElement 類別的新執行個體。Initializes a new instance of the ServiceElement class with the type of the service to be instantiated.

ServiceElement()

初始化 ServiceElement 類別的新執行個體。Initializes a new instance of the ServiceElement class.

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

適用於

ServiceElement(String)

使用要產生之服務的型別,初始化 ServiceElement 類別的新執行個體。Initializes a new instance of the ServiceElement class with the type of the service to be instantiated.

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

參數

serviceName
String

要產生之服務的型別。The type of the service to be instantiated.

適用於