Share via


IMessageProvider.Subscribe Method

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

Syntax

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

Parameters

.NET Framework Security

See Also

Reference

IMessageProvider Interface

Microsoft.TeamFoundation.Framework.Server Namespace