語言

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。

適用於

另請參閱