IEventService.SubscribeEvent Method (String, String, DeliveryPreference, String)
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaração
Function SubscribeEvent ( _
eventType As String, _
filterExpression As String, _
preferences As DeliveryPreference, _
classification As String _
) As Integer
int SubscribeEvent(
string eventType,
string filterExpression,
DeliveryPreference preferences,
string classification
)
int SubscribeEvent(
String^ eventType,
String^ filterExpression,
DeliveryPreference^ preferences,
String^ classification
)
abstract SubscribeEvent :
eventType:string *
filterExpression:string *
preferences:DeliveryPreference *
classification:string -> int
function SubscribeEvent(
eventType : String,
filterExpression : String,
preferences : DeliveryPreference,
classification : String
) : int
Parameters
- eventType
Type: System.String
- filterExpression
Type: System.String
- preferences
Type: Microsoft.TeamFoundation.Framework.Client.DeliveryPreference
- classification
Type: System.String
Return Value
Type: System.Int32
.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.