WSTrustChannelFactory 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 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)
參數
適用於
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)
參數
- 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)
參數
- 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。