WSTrustChannelFactory 构造函数

定义

初始化 WSTrustChannelFactory 类的新实例。

重载

WSTrustChannelFactory()

初始化 WSTrustChannelFactory 类的新实例。

WSTrustChannelFactory(Binding)

使用指定的绑定初始化 WSTrustChannelFactory 类的新实例。

WSTrustChannelFactory(ServiceEndpoint)

使用指定的终结点初始化 WSTrustChannelFactory 类的新实例。

WSTrustChannelFactory(String)

使用指定的终结点配置名称初始化 WSTrustChannelFactory 类的新实例。

WSTrustChannelFactory(Binding, EndpointAddress)

使用指定的绑定和终结点地址初始化 WSTrustChannelFactory 类的新实例。

WSTrustChannelFactory(Binding, String)

使用指定的绑定和远程地址初始化 WSTrustChannelFactory 类的新实例。

WSTrustChannelFactory(String, EndpointAddress)

初始化与指定终结点配置名称和终结点地址关联的 WSTrustChannelFactory 类的新实例。

WSTrustChannelFactory()

初始化 WSTrustChannelFactory 类的新实例。

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

适用于

WSTrustChannelFactory(Binding)

使用指定的绑定初始化 WSTrustChannelFactory 类的新实例。

public:
 WSTrustChannelFactory(System::ServiceModel::Channels::Binding ^ binding);
public WSTrustChannelFactory (System.ServiceModel.Channels.Binding binding);
new System.ServiceModel.Security.WSTrustChannelFactory : System.ServiceModel.Channels.Binding -> System.ServiceModel.Security.WSTrustChannelFactory
Public Sub New (binding As Binding)

参数

binding
Binding

为由工厂生成的通道指定的 Binding

适用于

WSTrustChannelFactory(ServiceEndpoint)

使用指定的终结点初始化 WSTrustChannelFactory 类的新实例。

public:
 WSTrustChannelFactory(System::ServiceModel::Description::ServiceEndpoint ^ endpoint);
public WSTrustChannelFactory (System.ServiceModel.Description.ServiceEndpoint endpoint);
new System.ServiceModel.Security.WSTrustChannelFactory : System.ServiceModel.Description.ServiceEndpoint -> System.ServiceModel.Security.WSTrustChannelFactory
Public Sub New (endpoint As ServiceEndpoint)

参数

endpoint
ServiceEndpoint

由工厂生成的通道的 ServiceEndpoint

适用于

WSTrustChannelFactory(String)

使用指定的终结点配置名称初始化 WSTrustChannelFactory 类的新实例。

public:
 WSTrustChannelFactory(System::String ^ endpointConfigurationName);
public WSTrustChannelFactory (string endpointConfigurationName);
new System.ServiceModel.Security.WSTrustChannelFactory : string -> System.ServiceModel.Security.WSTrustChannelFactory
Public Sub New (endpointConfigurationName As String)

参数

endpointConfigurationName
String

用于终结点的配置名称。

适用于

WSTrustChannelFactory(Binding, EndpointAddress)

使用指定的绑定和终结点地址初始化 WSTrustChannelFactory 类的新实例。

public:
 WSTrustChannelFactory(System::ServiceModel::Channels::Binding ^ binding, System::ServiceModel::EndpointAddress ^ remoteAddress);
public WSTrustChannelFactory (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress);
new System.ServiceModel.Security.WSTrustChannelFactory : System.ServiceModel.Channels.Binding * System.ServiceModel.EndpointAddress -> System.ServiceModel.Security.WSTrustChannelFactory
Public Sub New (binding As Binding, remoteAddress As EndpointAddress)

参数

binding
Binding

为由工厂生成的通道指定的 Binding

remoteAddress
EndpointAddress

提供服务位置的 EndpointAddress

适用于

WSTrustChannelFactory(Binding, String)

使用指定的绑定和远程地址初始化 WSTrustChannelFactory 类的新实例。

public:
 WSTrustChannelFactory(System::ServiceModel::Channels::Binding ^ binding, System::String ^ remoteAddress);
public WSTrustChannelFactory (System.ServiceModel.Channels.Binding binding, string remoteAddress);
new System.ServiceModel.Security.WSTrustChannelFactory : System.ServiceModel.Channels.Binding * string -> System.ServiceModel.Security.WSTrustChannelFactory
Public Sub New (binding As Binding, remoteAddress As String)

参数

binding
Binding

为由工厂生成的通道指定的 Binding

remoteAddress
String

提供服务位置的 EndpointAddress

适用于

WSTrustChannelFactory(String, EndpointAddress)

初始化与指定终结点配置名称和终结点地址关联的 WSTrustChannelFactory 类的新实例。

public:
 WSTrustChannelFactory(System::String ^ endpointConfigurationName, System::ServiceModel::EndpointAddress ^ remoteAddress);
public WSTrustChannelFactory (string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress);
new System.ServiceModel.Security.WSTrustChannelFactory : string * System.ServiceModel.EndpointAddress -> System.ServiceModel.Security.WSTrustChannelFactory
Public Sub New (endpointConfigurationName As String, remoteAddress As EndpointAddress)

参数

endpointConfigurationName
String

用于终结点的配置名称。

remoteAddress
EndpointAddress

提供服务位置的 EndpointAddress

适用于