TeamFoundationNotificationService.SubscribeEvent Method (TeamFoundationRequestContext, IdentityDescriptor, String, String, DeliveryPreference, String, Boolean)
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Public Function SubscribeEvent ( _
requestContext As TeamFoundationRequestContext, _
user As IdentityDescriptor, _
eventType As String, _
filterExpression As String, _
preferences As DeliveryPreference, _
classification As String, _
validate As Boolean _
) As Integer
public int SubscribeEvent(
TeamFoundationRequestContext requestContext,
IdentityDescriptor user,
string eventType,
string filterExpression,
DeliveryPreference preferences,
string classification,
bool validate
)
public:
virtual int SubscribeEvent(
TeamFoundationRequestContext^ requestContext,
IdentityDescriptor^ user,
String^ eventType,
String^ filterExpression,
DeliveryPreference^ preferences,
String^ classification,
bool validate
) sealed
abstract SubscribeEvent :
requestContext:TeamFoundationRequestContext *
user:IdentityDescriptor *
eventType:string *
filterExpression:string *
preferences:DeliveryPreference *
classification:string *
validate:bool -> int
override SubscribeEvent :
requestContext:TeamFoundationRequestContext *
user:IdentityDescriptor *
eventType:string *
filterExpression:string *
preferences:DeliveryPreference *
classification:string *
validate:bool -> int
public final function SubscribeEvent(
requestContext : TeamFoundationRequestContext,
user : IdentityDescriptor,
eventType : String,
filterExpression : String,
preferences : DeliveryPreference,
classification : String,
validate : boolean
) : int
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- eventType
Type: System.String
- filterExpression
Type: System.String
- preferences
Type: Microsoft.TeamFoundation.Server.Core.DeliveryPreference
- classification
Type: System.String
- validate
Type: System.Boolean
Return Value
Type: System.Int32
Returns 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.