CookieHandlerElement::GetConfiguredCookieHandler Method ()
.NET Framework (current version)
Gets a new cookie handler based on the configuration properties.
Assembly: System.IdentityModel.Services (in System.IdentityModel.Services.dll)
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.
| Exception | Condition |
|---|---|
| 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
Available since 4.5
Available since 4.5
Show: