TeamFoundationMessageBusService.Subscribe Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

Syntax

'Declaration
Public Sub Subscribe ( _
    requestContext As TeamFoundationRequestContext, _
    subscription As MessageBusSubscriptionInfo, _
    action As Action(Of TeamFoundationRequestContext, IMessage), _
    exceptionHandler As Func(Of Exception, Boolean) _
)
public void Subscribe(
    TeamFoundationRequestContext requestContext,
    MessageBusSubscriptionInfo subscription,
    Action<TeamFoundationRequestContext, IMessage> action,
    Func<Exception, bool> exceptionHandler
)
public:
virtual void Subscribe(
    TeamFoundationRequestContext^ requestContext, 
    MessageBusSubscriptionInfo^ subscription, 
    Action<TeamFoundationRequestContext^, IMessage^>^ action, 
    Func<Exception^, bool>^ exceptionHandler
) sealed
abstract Subscribe : 
        requestContext:TeamFoundationRequestContext * 
        subscription:MessageBusSubscriptionInfo * 
        action:Action<TeamFoundationRequestContext, IMessage> * 
        exceptionHandler:Func<Exception, bool> -> unit  
override Subscribe : 
        requestContext:TeamFoundationRequestContext * 
        subscription:MessageBusSubscriptionInfo * 
        action:Action<TeamFoundationRequestContext, IMessage> * 
        exceptionHandler:Func<Exception, bool> -> unit
public final function Subscribe(
    requestContext : TeamFoundationRequestContext, 
    subscription : MessageBusSubscriptionInfo, 
    action : Action<TeamFoundationRequestContext, IMessage>, 
    exceptionHandler : Func<Exception, boolean>
)

Parameters

Implements

IMessageProvider.Subscribe(TeamFoundationRequestContext, MessageBusSubscriptionInfo, Action<TeamFoundationRequestContext, IMessage>, Func<Exception, Boolean>)

.NET Framework Security

See Also

Reference

TeamFoundationMessageBusService Class

Microsoft.TeamFoundation.Framework.Server Namespace