Partager via


TeamFoundationMessageBusService.Subscribe, méthode

Espace de noms :  Microsoft.TeamFoundation.Framework.Server
Assembly :  Microsoft.TeamFoundation.Framework.Server (dans Microsoft.TeamFoundation.Framework.Server.dll)

Syntaxe

'Déclaration
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
)

Paramètres

Implémentations

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

Sécurité .NET Framework

Voir aussi

Référence

TeamFoundationMessageBusService Classe

Microsoft.TeamFoundation.Framework.Server, espace de noms