Share via


EventWebService.SubscribeEvent Method

Namespace:  Microsoft.TeamFoundation.Framework.Server.WebServices
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Function SubscribeEvent ( _
    userId As String, _
    eventType As String, _
    filterExpression As String, _
    preferences As DeliveryPreference _
) As Integer
[WebMethodAttribute]
public int SubscribeEvent(
    string userId,
    string eventType,
    string filterExpression,
    DeliveryPreference preferences
)
[WebMethodAttribute]
public:
int SubscribeEvent(
    String^ userId, 
    String^ eventType, 
    String^ filterExpression, 
    DeliveryPreference^ preferences
)
[<WebMethodAttribute>]
member SubscribeEvent : 
        userId:string * 
        eventType:string * 
        filterExpression:string * 
        preferences:DeliveryPreference -> int 
public function SubscribeEvent(
    userId : String, 
    eventType : String, 
    filterExpression : String, 
    preferences : DeliveryPreference
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

EventWebService Class

Microsoft.TeamFoundation.Framework.Server.WebServices Namespace