Delen via


IMessageProvider.CreateSubscriber Method (TeamFoundationRequestContext, String)

Create a new subscription for a given message bus. The name of the subscription will be allocated by the message bus and returned.

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 _
) As MessageBusSubscriptionInfo
MessageBusSubscriptionInfo CreateSubscriber(
    TeamFoundationRequestContext requestContext,
    string messageBusName
)
MessageBusSubscriptionInfo^ CreateSubscriber(
    TeamFoundationRequestContext^ requestContext, 
    String^ messageBusName
)
abstract CreateSubscriber : 
        requestContext:TeamFoundationRequestContext * 
        messageBusName:string -> MessageBusSubscriptionInfo
function CreateSubscriber(
    requestContext : TeamFoundationRequestContext, 
    messageBusName : String
) : MessageBusSubscriptionInfo

Parameters

  • messageBusName
    Type: System.String

    The name of the message bus to create the subscription for

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