Partager via


ISubscriptionPersistence Interface

The ISubscriptionPersistence interface is called when subscriptions are written or read from the database. Implementors of this interface are allowed to modify the subscriptions before they are saved and again before they are returned to any callers when read from the subscription tables.

Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
<InheritedExportAttribute> _
Public Interface ISubscriptionPersistence
[InheritedExportAttribute]
public interface ISubscriptionPersistence
[InheritedExportAttribute]
public interface class ISubscriptionPersistence
[<InheritedExportAttribute>]
type ISubscriptionPersistence =  interface end
public interface ISubscriptionPersistence

The ISubscriptionPersistence type exposes the following members.

Methods

  Name Description
Public method AfterReadSubscription AfterReadSubscription is called after a subscription is read from the database.
Public method BeforeWriteSubscription BeforeWriteSubscription is called before a subscription is going to be written to the database.

Top

See Also

Reference

Microsoft.TeamFoundation.Server.Core Namespace