Поделиться через


TeamFoundationNotificationService.GetEventSubscriptions Method (TeamFoundationRequestContext, IdentityDescriptor)

GetEventSubscriptions is used to retrieve a set of subscriptions for a specific user or all users.

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 _
) As List(Of Subscription)
public List<Subscription> GetEventSubscriptions(
    TeamFoundationRequestContext requestContext,
    IdentityDescriptor user
)
public:
virtual List<Subscription^>^ GetEventSubscriptions(
    TeamFoundationRequestContext^ requestContext, 
    IdentityDescriptor^ user
) sealed
abstract GetEventSubscriptions : 
        requestContext:TeamFoundationRequestContext * 
        user:IdentityDescriptor -> List<Subscription> 
override GetEventSubscriptions : 
        requestContext:TeamFoundationRequestContext * 
        user:IdentityDescriptor -> List<Subscription> 
public final function GetEventSubscriptions(
    requestContext : TeamFoundationRequestContext, 
    user : IdentityDescriptor
) : List<Subscription>

Parameters

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