ProfileRemovedEventArgs Class

 
Note: This API is now obsolete.

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

Namespace:   System.Workflow.Runtime.Tracking
Assembly:  System.Workflow.Runtime (in System.Workflow.Runtime.dll)

System.Object
  System.EventArgs
    System.Workflow.Runtime.Tracking.ProfileRemovedEventArgs

<ObsoleteAttribute("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>
Public NotInheritable Class ProfileRemovedEventArgs
	Inherits EventArgs

NameDescription
System_CAPS_pubmethodProfileRemovedEventArgs()

Initializes a new instance of the ProfileRemovedEventArgs class.

System_CAPS_pubmethodProfileRemovedEventArgs(Type)

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

NameDescription
System_CAPS_pubpropertyWorkflowType

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

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_noteNote

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.

.NET Framework
Available since 3.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: