共用方式為


TeamFoundationMessageBusService.CreateSubscriber 方法 (TeamFoundationRequestContext, String, String)

將目前服務做為訂閱者到訊息匯流排。

命名空間:  Microsoft.TeamFoundation.Framework.Server
組件:  Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)

語法

'宣告
Public Function CreateSubscriber ( _
    requestContext As TeamFoundationRequestContext, _
    messageBusName As String, _
    subscriptionName As String _
) As MessageBusSubscriptionInfo
public MessageBusSubscriptionInfo CreateSubscriber(
    TeamFoundationRequestContext requestContext,
    string messageBusName,
    string subscriptionName
)

參數

傳回值

類型:Microsoft.TeamFoundation.Framework.Server.MessageBusSubscriptionInfo

實作

IMessageProvider.CreateSubscriber(TeamFoundationRequestContext, String, String)

.NET Framework 安全性

請參閱

參考

TeamFoundationMessageBusService 類別

CreateSubscriber 多載

Microsoft.TeamFoundation.Framework.Server 命名空間