TrackingService.GetProfile Method (Type, Version)


Must be overridden in the derived class, and when implemented, returns the tracking profile, qualified by version, for the specified workflow Type.

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

protected internal abstract TrackingProfile GetProfile(
	Type workflowType,
	Version profileVersionId


Type: System.Type

The Type of the workflow.

Type: System.Version

The Version of the tracking profile.

Return Value

Type: System.Workflow.Runtime.Tracking.TrackingProfile

The tracking profile for the specified workflow type.

A tracking service is responsible for managing the tracking profiles available for specific workflow types and specific workflow instances. You can implement this management in whatever manner you choose. For example, you can return the same TrackingProfile for every workflow Type and workflow instance; or you can manage a sophisticated store of tracking profiles referenced by workflow instance, workflow Type, and Version.

.NET Framework
Available since 3.0
Return to top