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 与指定的工作流 Type 关联。After 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 类的新实例,该类适用于指定的工作流 TypeInitializes 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)

适用于