編輯

共用方式為


WSFederationHttpBinding Constructors

Definition

Initializes a new instance of the WSFederationHttpBinding class.

Overloads

WSFederationHttpBinding()

Initializes a new instance of the WSFederationHttpBinding class.

WSFederationHttpBinding(WSFederationHttpSecurityMode)

Initializes a new instance of the WSFederationHttpBinding class with a specified type of security used by the binding.

WSFederationHttpBinding(String)

Initializes a new instance of the WSFederationHttpBinding class with a binding specified by its configuration name.

WSFederationHttpBinding(WSFederationHttpSecurityMode, Boolean)

Initializes a new instance of the WSFederationHttpBinding class with a specified type of security used by the binding and a value that indicates whether a reliable session is enabled.

WSFederationHttpBinding()

Initializes a new instance of the WSFederationHttpBinding class.

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

Remarks

The details of these settings are available from the instance of FederatedMessageSecurityOverHttp that is returned by the Message property.

Applies to

WSFederationHttpBinding(WSFederationHttpSecurityMode)

Initializes a new instance of the WSFederationHttpBinding class with a specified type of security used by the binding.

public:
 WSFederationHttpBinding(System::ServiceModel::WSFederationHttpSecurityMode securityMode);
public WSFederationHttpBinding (System.ServiceModel.WSFederationHttpSecurityMode securityMode);
new System.ServiceModel.WSFederationHttpBinding : System.ServiceModel.WSFederationHttpSecurityMode -> System.ServiceModel.WSFederationHttpBinding
Public Sub New (securityMode As WSFederationHttpSecurityMode)

Parameters

securityMode
WSFederationHttpSecurityMode

The value of WSFederationHttpSecurityMode that specifies the type of security that is used with the SOAP message and for the client.

Remarks

The default value of WSFederationHttpSecurityMode is Message which specifies that integrity, confidentiality, and server and client authentication are provided using SOAP message security. The details of these settings are available from the instance of FederatedMessageSecurityOverHttp that is returned by the Message property.

Applies to

WSFederationHttpBinding(String)

Initializes a new instance of the WSFederationHttpBinding class with a binding specified by its configuration name.

public:
 WSFederationHttpBinding(System::String ^ configName);
public WSFederationHttpBinding (string configName);
new System.ServiceModel.WSFederationHttpBinding : string -> System.ServiceModel.WSFederationHttpBinding
Public Sub New (configName As String)

Parameters

configName
String

The binding configuration name for the WSHttpBindingElement.

Exceptions

The binding element with the name configurationName was not found.

Applies to

WSFederationHttpBinding(WSFederationHttpSecurityMode, Boolean)

Initializes a new instance of the WSFederationHttpBinding class with a specified type of security used by the binding and a value that indicates whether a reliable session is enabled.

public:
 WSFederationHttpBinding(System::ServiceModel::WSFederationHttpSecurityMode securityMode, bool reliableSessionEnabled);
public WSFederationHttpBinding (System.ServiceModel.WSFederationHttpSecurityMode securityMode, bool reliableSessionEnabled);
new System.ServiceModel.WSFederationHttpBinding : System.ServiceModel.WSFederationHttpSecurityMode * bool -> System.ServiceModel.WSFederationHttpBinding
Public Sub New (securityMode As WSFederationHttpSecurityMode, reliableSessionEnabled As Boolean)

Parameters

securityMode
WSFederationHttpSecurityMode

The value of WSFederationHttpSecurityMode that specifies the type of security that is used with the SOAP message and for the client.

reliableSessionEnabled
Boolean

true if a reliable session is enabled; otherwise, false.

Applies to