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
- userId
Type: System.String
- eventType
Type: System.String
- filterExpression
Type: System.String
- preferences
Type: Microsoft.TeamFoundation.Framework.Server.DeliveryPreference
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.
See Also
Reference
Microsoft.TeamFoundation.Framework.Server.WebServices Namespace