Share via


TransportConfigurationTypeElement 构造函数

定义

初始化 TransportConfigurationTypeElement 类的新实例。

重载

TransportConfigurationTypeElement()

初始化 TransportConfigurationTypeElement 类的新实例。

TransportConfigurationTypeElement(String)

使用唯一的名称初始化 TransportConfigurationTypeElement 类的新实例。

TransportConfigurationTypeElement(String, String)

使用一个唯一的名称和实现特定传输的类型初始化 TransportConfigurationTypeElement 类的新实例。

TransportConfigurationTypeElement()

初始化 TransportConfigurationTypeElement 类的新实例。

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

适用于

TransportConfigurationTypeElement(String)

使用唯一的名称初始化 TransportConfigurationTypeElement 类的新实例。

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

参数

name
String

一个唯一标识传输类型的字符串。

例外

namenull

适用于

TransportConfigurationTypeElement(String, String)

使用一个唯一的名称和实现特定传输的类型初始化 TransportConfigurationTypeElement 类的新实例。

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

参数

name
String

一个唯一标识传输类型的字符串。

transportConfigurationTypeName
String

实现特定传输的类型。

例外

nametransportConfigurationTypeNamenull

适用于