TrackingProfile.Version Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the version of the tracking profile.
public:
property Version ^ Version { Version ^ get(); void set(Version ^ value); };
public Version Version { get; set; }
member this.Version : Version with get, set
Public Property Version As Version
Property Value
The Version of the TrackingProfile.
Remarks
Because of the semantics of profile caching in the workflow runtime engine, if you change the contents of a TrackingProfile you must update Version. If you do not, your updated TrackingProfile may not be loaded by the workflow runtime engine, even if it is returned by a call to TrackingService.TryReloadProfile, or sent in the ProfileUpdatedEventArgs associated with a ProfileUpdated event. Therefore, to ensure that the updated TrackingProfile is loaded by the workflow runtime engine, you should change the Version for the TrackingProfile. You can then explicitly call WorkflowInstance.ReloadTrackingProfiles on any appropriate workflow instances, or, depending on your implementation, you can rely on the tracking service to inform the workflow runtime engine of the change. For more information, see TrackingService.