Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Function SubscribeEvent ( _
userId As String, _
eventType As String, _
filterExpression As String, _
preferences As DeliveryPreference _
) As Integer
int SubscribeEvent(
string userId,
string eventType,
string filterExpression,
DeliveryPreference preferences
)
int SubscribeEvent(
String^ userId,
String^ eventType,
String^ filterExpression,
DeliveryPreference^ preferences
)
abstract SubscribeEvent :
userId:string *
eventType:string *
filterExpression:string *
preferences:DeliveryPreference -> int
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.Client.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.