Partager via


TeamFoundationNotificationService.GetEventSubscriptions Method (TeamFoundationRequestContext, IdentityDescriptor, String)

GetEventSubscriptions is used to retrieve a set of subscriptions for a specific user or all users. This overload also allows the caller to supply a classification filter.

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

Syntax

'Declaration
Public Function GetEventSubscriptions ( _
    requestContext As TeamFoundationRequestContext, _
    user As IdentityDescriptor, _
    classification As String _
) As List(Of Subscription)
public List<Subscription> GetEventSubscriptions(
    TeamFoundationRequestContext requestContext,
    IdentityDescriptor user,
    string classification
)
public:
virtual List<Subscription^>^ GetEventSubscriptions(
    TeamFoundationRequestContext^ requestContext, 
    IdentityDescriptor^ user, 
    String^ classification
) sealed
abstract GetEventSubscriptions : 
        requestContext:TeamFoundationRequestContext * 
        user:IdentityDescriptor * 
        classification:string -> List<Subscription> 
override GetEventSubscriptions : 
        requestContext:TeamFoundationRequestContext * 
        user:IdentityDescriptor * 
        classification:string -> List<Subscription> 
public final function GetEventSubscriptions(
    requestContext : TeamFoundationRequestContext, 
    user : IdentityDescriptor, 
    classification : String
) : List<Subscription>

Parameters

  • classification
    Type: System.String

    Optional: Filter subscriptions to a specific classification.

Return Value

Type: System.Collections.Generic.List<Subscription>
The set of subscriptions that match the filter.

.NET Framework Security

See Also

Reference

TeamFoundationNotificationService Class

GetEventSubscriptions Overload

Microsoft.TeamFoundation.Server.Core Namespace