TeamFoundationMessageBusService.Subscribe 方法

命名空间:  Microsoft.TeamFoundation.Framework.Server
程序集:  Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)

语法

声明
Public Sub Subscribe ( _
    requestContext As TeamFoundationRequestContext, _
    messageBusName As String, _
    action As Action(Of TeamFoundationRequestContext, IMessage), _
    exceptionHandler As Action(Of Exception) _
)
public void Subscribe(
    TeamFoundationRequestContext requestContext,
    string messageBusName,
    Action<TeamFoundationRequestContext, IMessage> action,
    Action<Exception> exceptionHandler
)

参数

实现

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

.NET Framework 安全性

请参见

参考

TeamFoundationMessageBusService 类

Microsoft.TeamFoundation.Framework.Server 命名空间