ProfileRemovedEventArgs Class

Definition

Caution

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

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
Inheritance
ProfileRemovedEventArgs
Attributes

Remarks

Note

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

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. The tracking service uses a ProfileRemovedEventArgs to provide the workflow Type to the runtime tracking infrastructure. For example, the SqlTrackingService uses a ProfileRemovedEventArgs when it raises the SqlTrackingService.ProfileRemoved event. 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.

Constructors

ProfileRemovedEventArgs()

Initializes a new instance of the ProfileRemovedEventArgs class.

ProfileRemovedEventArgs(Type)

Initializes a new instance of the ProfileRemovedEventArgs class that applies to the specified workflow Type.

Properties

WorkflowType

Gets or sets the workflow Type for which the TrackingProfile should be removed.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to