Επεξεργασία

Κοινή χρήση μέσω


CookieHandlerElement.GetConfiguredCookieHandler Method

Definition

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.

Applies to