ProfileMigrateEventArgs(HttpContext, String) 建構函式

定義

建立 ProfileMigrateEventArgs 類別的執行個體。

public:
 ProfileMigrateEventArgs(System::Web::HttpContext ^ context, System::String ^ anonymousId);
public ProfileMigrateEventArgs (System.Web.HttpContext context, string anonymousId);
new System.Web.Profile.ProfileMigrateEventArgs : System.Web.HttpContext * string -> System.Web.Profile.ProfileMigrateEventArgs
Public Sub New (context As HttpContext, anonymousId As String)

參數

context
HttpContext

目前要求的 HttpContext

anonymousId
String

要轉換的匿名識別項。

備註

ProfileMigrateEventArgs 建立 類別的 ProfileMigrateEventArgs 實例、將 Context 屬性設定為指定的 HttpContext ,並將 屬性設定 AnonymousID 為指定的 anonymousId

適用於

另請參閱