WSTrustChannelFactory Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the WSTrustChannelFactory class.
Overloads
WSTrustChannelFactory() |
Initializes a new instance of the WSTrustChannelFactory class. |
WSTrustChannelFactory(Binding) |
Initializes a new instance of the WSTrustChannelFactory class with the specified binding. |
WSTrustChannelFactory(ServiceEndpoint) |
Initializes a new instance of the WSTrustChannelFactory class with a specified endpoint. |
WSTrustChannelFactory(String) |
Initializes a new instance of the WSTrustChannelFactory class with a specified endpoint configuration name. |
WSTrustChannelFactory(Binding, EndpointAddress) |
Initializes a new instance of the WSTrustChannelFactory class with a specified binding and endpoint address. |
WSTrustChannelFactory(Binding, String) |
Initializes a new instance of the WSTrustChannelFactory class with a specified binding and remote address. |
WSTrustChannelFactory(String, EndpointAddress) |
Initializes a new instance of the WSTrustChannelFactory class associated with a specified endpoint configuration name and endpoint address. |
WSTrustChannelFactory()
Initializes a new instance of the WSTrustChannelFactory class.
public:
WSTrustChannelFactory();
public WSTrustChannelFactory ();
Public Sub New ()
Applies to
WSTrustChannelFactory(Binding)
Initializes a new instance of the WSTrustChannelFactory class with the specified binding.
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)
Parameters
Applies to
WSTrustChannelFactory(ServiceEndpoint)
Initializes a new instance of the WSTrustChannelFactory class with a specified endpoint.
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)
Parameters
- endpoint
- ServiceEndpoint
The ServiceEndpoint for the channels produced by the factory.
Applies to
WSTrustChannelFactory(String)
Initializes a new instance of the WSTrustChannelFactory class with a specified endpoint configuration name.
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)
Parameters
- endpointConfigurationName
- String
The configuration name used for the endpoint.
Applies to
WSTrustChannelFactory(Binding, EndpointAddress)
Initializes a new instance of the WSTrustChannelFactory class with a specified binding and endpoint address.
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)
Parameters
- remoteAddress
- EndpointAddress
The EndpointAddress that provides the location of the service.
Applies to
WSTrustChannelFactory(Binding, String)
Initializes a new instance of the WSTrustChannelFactory class with a specified binding and remote address.
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)
Parameters
- remoteAddress
- String
The EndpointAddress that provides the location of the service.
Applies to
WSTrustChannelFactory(String, EndpointAddress)
Initializes a new instance of the WSTrustChannelFactory class associated with a specified endpoint configuration name and endpoint address.
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)
Parameters
- endpointConfigurationName
- String
The configuration name used for the endpoint.
- remoteAddress
- EndpointAddress
The EndpointAddress that provides the location of the service.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈