Bearbeiten

Freigeben über


WSTrustChannelFactory Constructors

Definition

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

binding
Binding

The Binding specified for the channels produced by the factory.

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

binding
Binding

The Binding specified for the channels produced by the factory.

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

binding
Binding

The Binding specified for the channels produced by the factory.

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