AnonymousIdentificationEventHandler デリゲート
アセンブリ: System.Web (system.web.dll 内)

Public Delegate Sub AnonymousIdentificationEventHandler ( _ sender As Object, _ e As AnonymousIdentificationEventArgs _ )
public delegate void AnonymousIdentificationEventHandler ( Object sender, AnonymousIdentificationEventArgs e )
public delegate void AnonymousIdentificationEventHandler ( Object^ sender, AnonymousIdentificationEventArgs^ e )
/** @delegate */ public delegate void AnonymousIdentificationEventHandler ( Object sender, AnonymousIdentificationEventArgs e )

AnonymousIdentificationEventHandler デリゲートは、AnonymousIdentificationModule クラスの Creating イベントに対して定義されています。AnonymousIdentificationModule クラスの Creating イベントには、ASP.NET アプリケーションの Global.asax ファイルに、AnonymousIdentification_Creating というサブルーチンを指定することによってアクセスできます。Creating イベントは、PostAuthenticateRequest イベント時に生成されます。
AnonymousIdentificationModule は、現在の HttpContext を使用して AnonymousIdentificationEventArgs オブジェクトを生成し、それを AnonymousIdentification_Creating イベントに渡します。
AnonymousIdentification_Creating イベントに渡した AnonymousIdentificationEventArgs オブジェクトの AnonymousId プロパティを使用して、匿名 ID をカスタム値に設定できます。AnonymousIdentification_Creating イベント時に AnonymousId プロパティに値を指定しなかった場合は、Guid が使用されます。
AnonymousIdentification_Creating イベントは、anonymousIdentification 構成要素を true に設定することにより、匿名 ID が Enabled である場合にだけ発生します。

AnonymousIdentification_Creating イベントを使用して、匿名 ID をカスタム値に設定するコード例を次に示します。

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からAnonymousIdentificationEventHandler デリゲートを検索する場合は、下記のリンクをクリックしてください。

- AnonymousIdentificationEventHandler デリゲートのページへのリンク