This documentation is archived and is not being maintained.
IEventService.SubscribeEvent Method (String, String, DeliveryPreference, String)
Visual Studio 2013
Subscribes the caller to an event.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
abstract SubscribeEvent : eventType:string * filterExpression:string * preferences:DeliveryPreference * classification:string -> int
Parameters
- eventType
- Type: System.String
The fully qualified name of the event type.
- filterExpression
- Type: System.String
A string that describes how to filter instances of the event type.
- preferences
- Type: Microsoft.TeamFoundation.Framework.Client.DeliveryPreference
Describes how an event notification is delivered.
- classification
- Type: System.String
A classification tag for the event subscription.
- 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.
Show: