Compartilhar via


Método TeamFoundationMessageBusService.Subscribe

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

Sintaxe

'Declaração
Public Sub Subscribe ( _
    requestContext As TeamFoundationRequestContext, _
    subscription As MessageBusSubscriptionInfo, _
    action As Action(Of TeamFoundationRequestContext, IMessage), _
    exceptionHandler As Func(Of Exception, String, Boolean) _
)
public void Subscribe(
    TeamFoundationRequestContext requestContext,
    MessageBusSubscriptionInfo subscription,
    Action<TeamFoundationRequestContext, IMessage> action,
    Func<Exception, string, bool> exceptionHandler
)

Parâmetros

Implementações

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

Segurança do .NET Framework

Consulte também

Referência

TeamFoundationMessageBusService Classe

Namespace Microsoft.TeamFoundation.Framework.Server