Share via


TeamFoundationMessageBusService.CreateSubscriber Method (TeamFoundationRequestContext, String, String)

Adds the current service as a subscriber to the message bus.

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

Syntax

'Declaration
Public Function CreateSubscriber ( _
    requestContext As TeamFoundationRequestContext, _
    messageBusName As String, _
    subscriptionName As String _
) As MessageBusSubscriptionInfo
public MessageBusSubscriptionInfo CreateSubscriber(
    TeamFoundationRequestContext requestContext,
    string messageBusName,
    string subscriptionName
)
public:
virtual MessageBusSubscriptionInfo^ CreateSubscriber(
    TeamFoundationRequestContext^ requestContext, 
    String^ messageBusName, 
    String^ subscriptionName
) sealed
abstract CreateSubscriber : 
        requestContext:TeamFoundationRequestContext * 
        messageBusName:string * 
        subscriptionName:string -> MessageBusSubscriptionInfo  
override CreateSubscriber : 
        requestContext:TeamFoundationRequestContext * 
        messageBusName:string * 
        subscriptionName:string -> MessageBusSubscriptionInfo
public final function CreateSubscriber(
    requestContext : TeamFoundationRequestContext, 
    messageBusName : String, 
    subscriptionName : String
) : MessageBusSubscriptionInfo

Parameters

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.MessageBusSubscriptionInfo

Implements

IMessageProvider.CreateSubscriber(TeamFoundationRequestContext, String, String)

.NET Framework Security

See Also

Reference

TeamFoundationMessageBusService Class

CreateSubscriber Overload

Microsoft.TeamFoundation.Framework.Server Namespace