Freigeben über


EventWebService.SubscribeEvent-Methode

Namespace:  Microsoft.TeamFoundation.Server.Core.WebServices
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.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
)

Parameter

Rückgabewert

Typ: System.Int32
Gibt Int32 zurück.

.NET Framework-Sicherheit

Siehe auch

Referenz

EventWebService Klasse

Microsoft.TeamFoundation.Server.Core.WebServices-Namespace