Language

CookieHandlerElement.GetConfiguredCookieHandler メソッド

定義

構成プロパティに基づいて新しい Cookie ハンドラーを取得します。

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

返品

Cookie ハンドラー。 これは、現在のインスタンスのプロパティによって構成されるハンドラーの種類に応じて、 CookieHandler または ChunkedCookieHandler のインスタンスになります。

例外

現在のインスタンスのプロパティから Cookie ハンドラーを作成することはできません。

注釈

このメソッドは、構成と一致する Cookie ハンドラーを返します。 返される Cookie ハンドラーは、構成プロパティの設定方法に応じて、チャンク Cookie ハンドラーまたはカスタム Cookie ハンドラーのいずれかになります。 詳細については、CookieHandlerElementを参照してください。

適用対象