ProfileUpdatedEventArgs 類別

定義

警告:已過時

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

提供 ProfileUpdated 事件的資料。Provides the data for the ProfileUpdated event. 此類別無法獲得繼承。This class cannot be inherited.

public ref class ProfileUpdatedEventArgs sealed : EventArgs
public sealed class ProfileUpdatedEventArgs : EventArgs
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class ProfileUpdatedEventArgs : EventArgs
type ProfileUpdatedEventArgs = class
    inherit EventArgs
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ProfileUpdatedEventArgs = class
    inherit EventArgs
Public NotInheritable Class ProfileUpdatedEventArgs
Inherits EventArgs
繼承
ProfileUpdatedEventArgs
屬性

備註

注意

此資料討論已被汰換的類型及命名空間。This material discusses types and namespaces that are obsolete. 如需詳細資訊,請參閱 Windows Workflow Foundation 4.5 中即將淘汰的類型For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

實作 IProfileNotification 介面的追蹤服務會引發 ProfileUpdated 事件,以通知執行階段追蹤基礎結構關於特定工作流程 TrackingProfileType 已變更。A tracking service that implements the IProfileNotification interface raises a ProfileUpdated event to notify the runtime tracking infrastructure that the TrackingProfile for a particular workflow Type has changed. 追蹤服務會使用 ProfileUpdatedEventArgs 提供工作流程 Type 和新的 TrackingProfile 給執行階段追蹤基礎結構。The tracking service uses a ProfileUpdatedEventArgs to provide the workflow Type and the new TrackingProfile to the runtime tracking infrastructure. 例如,SqlTrackingService 會在引發 ProfileUpdatedEventArgs 事件時,使用 SqlTrackingService.ProfileUpdatedFor example, the SqlTrackingService uses a ProfileUpdatedEventArgs when it raises the SqlTrackingService.ProfileUpdated event. 當它收到 ProfileUpdated 事件時,執行階段追蹤基礎結構將在其快取中,更新指定工作流程 Type 的追蹤設定檔。When it receives a ProfileUpdated event, the runtime tracking infrastructure will update the tracking profile for the specified workflow Type in its profile cache.

建構函式

ProfileUpdatedEventArgs()

初始化 ProfileUpdatedEventArgs 類別的新執行個體。Initializes a new instance of the ProfileUpdatedEventArgs class.

ProfileUpdatedEventArgs(Type, TrackingProfile)

初始化 ProfileUpdatedEventArgs 類別的新執行個體,該類別會為指定的工作流程 TrackingProfile 指定新的 TypeInitializes a new instance of the ProfileUpdatedEventArgs class that specifies a new TrackingProfile for the specified workflow Type.

屬性

TrackingProfile

取得或設定工作流程類型的新 TrackingProfileGets or sets the new TrackingProfile for the workflow Type.

WorkflowType

取得或設定其 Type 應更新的工作流程的 TrackingProfileGets or sets the Type of the workflow whose TrackingProfile should be updated.

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetHashCode()

作為預設雜湊函數。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於