Partager via


IEventService.SubscribeEvent Method (String, String, String, DeliveryPreference, String)

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Déclaration
Function SubscribeEvent ( _
    userId As String, _
    eventType As String, _
    filterExpression As String, _
    preferences As DeliveryPreference, _
    classification As String _
) As Integer
int SubscribeEvent(
    string userId,
    string eventType,
    string filterExpression,
    DeliveryPreference preferences,
    string classification
)
int SubscribeEvent(
    String^ userId, 
    String^ eventType, 
    String^ filterExpression, 
    DeliveryPreference^ preferences, 
    String^ classification
)
abstract SubscribeEvent : 
        userId:string * 
        eventType:string * 
        filterExpression:string * 
        preferences:DeliveryPreference * 
        classification:string -> int 
function SubscribeEvent(
    userId : String, 
    eventType : String, 
    filterExpression : String, 
    preferences : DeliveryPreference, 
    classification : String
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IEventService Interface

SubscribeEvent Overload

Microsoft.TeamFoundation.Framework.Client Namespace