You've already forked linux-packaging-mono
Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
29
external/referencesource/System.Workflow.Runtime/Tracking/IProfileNotification.cs
vendored
Normal file
29
external/referencesource/System.Workflow.Runtime/Tracking/IProfileNotification.cs
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Workflow.ComponentModel;
|
||||
using System.Runtime.Serialization;
|
||||
using System.Security.Permissions;
|
||||
using System.Workflow.Runtime.Hosting;
|
||||
|
||||
namespace System.Workflow.Runtime.Tracking
|
||||
{
|
||||
/// <summary>
|
||||
/// Interface for tracking services that provide notifications when a new version of a profile is availabe.
|
||||
/// The tracking runtime subscribes to the UpdateProfile and RemoveProfile events and updates its cache as events are raised.
|
||||
/// This decreases the number of requests for profiles that are made to a tracking service. The GetProfiles methods
|
||||
/// are still in use but they are not called as frequently.
|
||||
/// </summary>
|
||||
[Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
|
||||
public interface IProfileNotification
|
||||
{
|
||||
/// <summary>
|
||||
/// Use this event to inform the tracking runtime that a new profile version is available for a given workflow type.
|
||||
/// </summary>
|
||||
event EventHandler<ProfileUpdatedEventArgs> ProfileUpdated;
|
||||
/// <summary>
|
||||
/// Use this event to inform the tracking runtime that new instances of the specified workflow type should not have a profile.
|
||||
/// </summary>
|
||||
event EventHandler<ProfileRemovedEventArgs> ProfileRemoved;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user