ProfileRemovedEventArgs 類別

定義

警告:已過時

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

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

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

備註

注意

此資料討論已被汰換的類型及命名空間。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 介面的追蹤服務會引發 ProfileRemoved 事件,以通知執行階段追蹤基礎結構不要再追蹤特定工作流程 Type 的新執行個體。A tracking service that implements the IProfileNotification interface raises a ProfileRemoved event to notify the runtime tracking infrastructure that new instances of a particular workflow Type should no longer be tracked. 追蹤服務會使用 ProfileRemovedEventArgs 提供工作流程 Type 給執行階段追蹤基礎結構。The tracking service uses a ProfileRemovedEventArgs to provide the workflow Type to the runtime tracking infrastructure. 例如,SqlTrackingService 會在引發 ProfileRemovedEventArgs 事件時,使用 SqlTrackingService.ProfileRemovedFor example, the SqlTrackingService uses a ProfileRemovedEventArgs when it raises the SqlTrackingService.ProfileRemoved event. 追蹤服務引發 ProfileRemoved 事件後,執行階段追蹤基礎結構就不再將 TrackingProfile 關聯至該追蹤服務的指定工作流程 TypeAfter a tracking service raises the ProfileRemoved event, the runtime tracking infrastructure will no longer associate a TrackingProfile with the specified workflow Type for that tracking service.

建構函式

ProfileRemovedEventArgs()

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

ProfileRemovedEventArgs(Type)

初始化 ProfileRemovedEventArgs 類別 (套用至指定的工作流程 Type) 的新執行個體。Initializes a new instance of the ProfileRemovedEventArgs class that applies to the specified workflow Type.

屬性

WorkflowType

取得或設定應移除 Type 的工作流程 TrackingProfileGets or sets the workflow Type for which the TrackingProfile should be removed.

方法

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)

適用於