Delen via


IMessageProvider.CreatePublisher Method

Create a new publisher with the given name.

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

Syntax

'Declaration
Sub CreatePublisher ( _
    requestContext As TeamFoundationRequestContext, _
    messageBusName As String, _
    deleteIfExists As Boolean _
)
void CreatePublisher(
    TeamFoundationRequestContext requestContext,
    string messageBusName,
    bool deleteIfExists
)
void CreatePublisher(
    TeamFoundationRequestContext^ requestContext, 
    String^ messageBusName, 
    bool deleteIfExists
)
abstract CreatePublisher : 
        requestContext:TeamFoundationRequestContext * 
        messageBusName:string * 
        deleteIfExists:bool -> unit
function CreatePublisher(
    requestContext : TeamFoundationRequestContext, 
    messageBusName : String, 
    deleteIfExists : boolean
)

Parameters

  • deleteIfExists
    Type: System.Boolean

    If true and a publisher already exists with the specified name, then the existing publisher will be deleted first before a new one is created with the same name. If false and the publisher already exists, then no further action will be taken.

.NET Framework Security

See Also

Reference

IMessageProvider Interface

Microsoft.TeamFoundation.Framework.Server Namespace