Redigera

Dela via


WS2007FederationHttpBinding Constructors

Definition

Initializes a new instance of the WS2007FederationHttpBinding class.

Overloads

WS2007FederationHttpBinding()

Initializes a new instance of the WS2007FederationHttpBinding class.

WS2007FederationHttpBinding(WSFederationHttpSecurityMode)

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

WS2007FederationHttpBinding(String)

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

WS2007FederationHttpBinding(WSFederationHttpSecurityMode, Boolean)

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

WS2007FederationHttpBinding()

Initializes a new instance of the WS2007FederationHttpBinding class.

public:
 WS2007FederationHttpBinding();
public WS2007FederationHttpBinding ();
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

WS2007FederationHttpBinding(WSFederationHttpSecurityMode)

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

public:
 WS2007FederationHttpBinding(System::ServiceModel::WSFederationHttpSecurityMode securityMode);
public WS2007FederationHttpBinding (System.ServiceModel.WSFederationHttpSecurityMode securityMode);
new System.ServiceModel.WS2007FederationHttpBinding : System.ServiceModel.WSFederationHttpSecurityMode -> System.ServiceModel.WS2007FederationHttpBinding
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

WS2007FederationHttpBinding(String)

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

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

Parameters

configName
String

The binding configuration name for the WS2007HttpBindingElement.

Exceptions

The binding element with the name configurationName was not found.

Applies to

WS2007FederationHttpBinding(WSFederationHttpSecurityMode, Boolean)

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

public:
 WS2007FederationHttpBinding(System::ServiceModel::WSFederationHttpSecurityMode securityMode, bool reliableSessionEnabled);
public WS2007FederationHttpBinding (System.ServiceModel.WSFederationHttpSecurityMode securityMode, bool reliableSessionEnabled);
new System.ServiceModel.WS2007FederationHttpBinding : System.ServiceModel.WSFederationHttpSecurityMode * bool -> System.ServiceModel.WS2007FederationHttpBinding
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