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.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.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:
List<Subscription^>^ GetEventSubscriptions(
TeamFoundationRequestContext^ requestContext,
IdentityDescriptor^ user,
String^ classification
)
member GetEventSubscriptions :
requestContext:TeamFoundationRequestContext *
user:IdentityDescriptor *
classification:string -> List<Subscription>
public function GetEventSubscriptions(
requestContext : TeamFoundationRequestContext,
user : IdentityDescriptor,
classification : String
) : List<Subscription>
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextContext this operation is run.
user
Type: Microsoft.TeamFoundation.Framework.Server.IdentityDescriptorOptional: User to filter the set of subscriptions too.
classification
Type: System.StringOptional: 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
TeamFoundationNotificationService Class