Delen via


IMessageProvider.CreateSubscriber Method (TeamFoundationRequestContext, String, String)

Create a new named subscription for a given message bus.

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

Syntax

'Declaration
Function CreateSubscriber ( _
    requestContext As TeamFoundationRequestContext, _
    messageBusName As String, _
    subscriptionName As String _
) As MessageBusSubscriptionInfo
MessageBusSubscriptionInfo CreateSubscriber(
    TeamFoundationRequestContext requestContext,
    string messageBusName,
    string subscriptionName
)
MessageBusSubscriptionInfo^ CreateSubscriber(
    TeamFoundationRequestContext^ requestContext, 
    String^ messageBusName, 
    String^ subscriptionName
)
abstract CreateSubscriber : 
        requestContext:TeamFoundationRequestContext * 
        messageBusName:string * 
        subscriptionName:string -> MessageBusSubscriptionInfo
function CreateSubscriber(
    requestContext : TeamFoundationRequestContext, 
    messageBusName : String, 
    subscriptionName : String
) : MessageBusSubscriptionInfo

Parameters

  • subscriptionName
    Type: System.String

    The name of the subscription

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.MessageBusSubscriptionInfo
Returns MessageBusSubscriptionInfo.

.NET Framework Security

See Also

Reference

IMessageProvider Interface

CreateSubscriber Overload

Microsoft.TeamFoundation.Framework.Server Namespace