Share via


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

Return Value

Type: System.Int32
Returns Int32.

.NET Framework Security

See Also

Reference

TeamFoundationNotificationService Class

SubscribeEvent Overload

Microsoft.TeamFoundation.Server.Core Namespace