Uređivanje

Dijeli putem


ProfileUpdatedEventArgs Class

Definition

Caution

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

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

public ref class ProfileUpdatedEventArgs sealed : EventArgs
public sealed class ProfileUpdatedEventArgs : EventArgs
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class ProfileUpdatedEventArgs : EventArgs
type ProfileUpdatedEventArgs = class
    inherit EventArgs
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ProfileUpdatedEventArgs = class
    inherit EventArgs
Public NotInheritable Class ProfileUpdatedEventArgs
Inherits EventArgs
Inheritance
ProfileUpdatedEventArgs
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 ProfileUpdated event to notify the runtime tracking infrastructure that the TrackingProfile for a particular workflow Type has changed. The tracking service uses a ProfileUpdatedEventArgs to provide the workflow Type and the new TrackingProfile to the runtime tracking infrastructure. For example, the SqlTrackingService uses a ProfileUpdatedEventArgs when it raises the SqlTrackingService.ProfileUpdated event. When it receives a ProfileUpdated event, the runtime tracking infrastructure will update the tracking profile for the specified workflow Type in its profile cache.

Constructors

ProfileUpdatedEventArgs()

Initializes a new instance of the ProfileUpdatedEventArgs class.

ProfileUpdatedEventArgs(Type, TrackingProfile)

Initializes a new instance of the ProfileUpdatedEventArgs class that specifies a new TrackingProfile for the specified workflow Type.

Properties

TrackingProfile

Gets or sets the new TrackingProfile for the workflow Type.

WorkflowType

Gets or sets the Type of the workflow whose TrackingProfile should be updated.

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