Delen via


TeamFoundationEventService.Subscribe Method

Subscribe to the specified event(s).

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Sub Subscribe ( _
    requestContext As TeamFoundationRequestContext, _
    subscriber As ISubscriber _
)
public void Subscribe(
    TeamFoundationRequestContext requestContext,
    ISubscriber subscriber
)
public:
virtual void Subscribe(
    TeamFoundationRequestContext^ requestContext, 
    ISubscriber^ subscriber
) sealed
abstract Subscribe : 
        requestContext:TeamFoundationRequestContext * 
        subscriber:ISubscriber -> unit  
override Subscribe : 
        requestContext:TeamFoundationRequestContext * 
        subscriber:ISubscriber -> unit
public final function Subscribe(
    requestContext : TeamFoundationRequestContext, 
    subscriber : ISubscriber
)

Parameters

Implements

ITeamFoundationEventService.Subscribe(TeamFoundationRequestContext, ISubscriber)

.NET Framework Security

See Also

Reference

TeamFoundationEventService Class

Microsoft.TeamFoundation.Framework.Server Namespace