CookieHandlerElement.GetConfiguredCookieHandler メソッド

定義

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

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

戻り値

クッキー ハンドラー。 これは、現在のインスタンスのプロパティによって設定されたハンドラーの種類に応じて、CookieHandler または ChunkedCookieHandler のインスタンスです。

例外

クッキー ハンドラーは、現在のインスタンスのプロパティから作成できません。

注釈

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

適用対象