Método EventWebService.SubscribeEvent
Namespace: Microsoft.TeamFoundation.Server.Core.WebServices
Assembly: Microsoft.TeamFoundation.Server.Core (em Microsoft.TeamFoundation.Server.Core.dll)
Sintaxe
'Declaração
<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
)
Parâmetros
- userId
Tipo: System.String
- eventType
Tipo: System.String
- filterExpression
Tipo: System.String
- preferences
Tipo: Microsoft.TeamFoundation.Server.Core.DeliveryPreference
Valor de retorno
Tipo: System.Int32
Retorna Int32.
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.