This documentation is archived and is not being maintained.

WSFederationHttpBinding.Security Property

Gets the type of security used with this binding.

Namespace:  System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public WSFederationHttpSecurity Security { get; }

Property Value

Type: System.ServiceModel.WSFederationHttpSecurity
The WSFederationHttpSecurity that specifies the mode of security used with this binding. The default value of the WSFederationHttpSecurityMode for this binding is Message.

The security used by the binding cannot be changed once the binding is created. To use a non-default type of security, use the WSFederationHttpBinding(WSFederationHttpSecurityMode) constructor.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0