IEventService.GetEventSubscriptions Method (IdentityDescriptor, String)
Gets event subscriptions for the specified user and classification.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Function GetEventSubscriptions ( _
user As IdentityDescriptor, _
classification As String _
) As Subscription()
Subscription[] GetEventSubscriptions(
IdentityDescriptor user,
string classification
)
array<Subscription^>^ GetEventSubscriptions(
IdentityDescriptor^ user,
String^ classification
)
abstract GetEventSubscriptions :
user:IdentityDescriptor *
classification:string -> Subscription[]
function GetEventSubscriptions(
user : IdentityDescriptor,
classification : String
) : Subscription[]
Parameters
user
Type: Microsoft.TeamFoundation.Framework.Client.IdentityDescriptorThe user ID for which a list of event subscriptions is desired.
classification
Type: System.StringThe classification tag by which to filter the event subscriptions.
Return Value
Type: array<Microsoft.TeamFoundation.Framework.Client.Subscription[]
A list of event subscriptions for the specified user.
.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.