ProfileMigrateEventArgs(HttpContext, String) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立 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。