ProfileRemovedEventArgs ProfileRemovedEventArgs ProfileRemovedEventArgs ProfileRemovedEventArgs Class



This API is now obsolete.

Provides data for the ProfileRemoved event. This class cannot be inherited.

public ref class ProfileRemovedEventArgs sealed : 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
Public NotInheritable Class ProfileRemovedEventArgs
Inherits EventArgs



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.


ProfileRemovedEventArgs() ProfileRemovedEventArgs() ProfileRemovedEventArgs() ProfileRemovedEventArgs()

Initializes a new instance of the ProfileRemovedEventArgs class.

ProfileRemovedEventArgs(Type) ProfileRemovedEventArgs(Type) ProfileRemovedEventArgs(Type) ProfileRemovedEventArgs(Type)

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


WorkflowType WorkflowType WorkflowType WorkflowType

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


Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to