Beispiel #1
0
        /// <summary>
        /// Updates the tracking profile for the specified workflow instance.
        /// </summary>
        /// <param name="instanceId">The <see cref="Guid"></see> of the workflow instance.</param>
        /// <param name="updatedProfile">The updated <see cref="TrackingProfile" />.</param>
        public void UpdateTrackingProfile(Guid instanceId, TrackingProfile updatedProfile)
        {
            TraceHelper.Trace();

            using (ITrackingProfileResourceAccessor resourceAccessor = CreateAccessor(resourceProvider))
            {
                resourceAccessor.UpdateTrackingProfile(instanceId, updatedProfile);
            }
        }
Beispiel #2
0
        /// <summary>
        /// Updates the tracking profile for the specified workflow <see cref="Type" />.
        /// </summary>
        /// <param name="workflowType">The <see cref="Type"></see> of the workflow.</param>
        /// <param name="updatedProfile">The updated <see cref="TrackingProfile" />.</param>
        public void UpdateTrackingProfile(Type workflowType, TrackingProfile updatedProfile)
        {
            TraceHelper.Trace();

            using (ITrackingProfileResourceAccessor resourceAccessor = CreateAccessor(resourceProvider))
            {
                resourceAccessor.UpdateTrackingProfile(workflowType, updatedProfile);
            }
        }