CookieHandlerElement.GetConfiguredCookieHandler Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a new cookie handler based on the configuration properties.
public:
System::IdentityModel::Services::CookieHandler ^ GetConfiguredCookieHandler();
public System.IdentityModel.Services.CookieHandler GetConfiguredCookieHandler ();
member this.GetConfiguredCookieHandler : unit -> System.IdentityModel.Services.CookieHandler
Public Function GetConfiguredCookieHandler () As CookieHandler
Returns
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.
Exceptions
A cookie handler cannot be created from the properties of the current instance.
Remarks
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.