IMessageProvider.Subscribe 方法

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

语法

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

参数

.NET Framework 安全性

请参见

参考

IMessageProvider 接口

Microsoft.TeamFoundation.Framework.Server 命名空间