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
- requestContext
 Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- messageBusName 
 Type: System.String- The name of the "topic" 
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.