Export (0) Print
Expand All

CookieHandlerElement.GetConfiguredCookieHandler Method

.NET Framework 4.5

Gets a new cookie handler based on the configuration properties.

Namespace:  System.IdentityModel.Services
Assembly:  System.IdentityModel.Services (in System.IdentityModel.Services.dll)

public CookieHandler GetConfiguredCookieHandler()

Return Value

Type: System.IdentityModel.Services.CookieHandler
The cookie handler. This will be an instance of CookieHandler or ChunkedCookieHandler depending on the kind of handler that is configured by the properties of the current instance.

ExceptionCondition
ConfigurationException

A cookie handler cannot be created from the properties of the current instance.

This method returns a cookie handler that is consistent with the configuration. The cookie handler returned will be either a chunked cookie handler or a custom cookie handler depending on how the configuration properties are set. For more information, see CookieHandlerElement.

.NET Framework

Supported in: 4.6, 4.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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

Show:
© 2014 Microsoft