Creates a publisher on the message bus.
Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub CreatePublisher ( _
    requestContext As TeamFoundationRequestContext, _
    messageBusName As String, _
    deleteIfExists As Boolean _
)
public void CreatePublisher(
    TeamFoundationRequestContext requestContext,
    string messageBusName,
    bool deleteIfExists
)
public:
virtual void CreatePublisher(
    TeamFoundationRequestContext^ requestContext, 
    String^ messageBusName, 
    bool deleteIfExists
) sealed
abstract CreatePublisher : 
        requestContext:TeamFoundationRequestContext * 
        messageBusName:string * 
        deleteIfExists:bool -> unit  
override CreatePublisher : 
        requestContext:TeamFoundationRequestContext * 
        messageBusName:string * 
        deleteIfExists:bool -> unit
public final function CreatePublisher(
    requestContext : TeamFoundationRequestContext, 
    messageBusName : String, 
    deleteIfExists : boolean
)
Parameters
- requestContext
 Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- messageBusName
 Type: System.String
- deleteIfExists
 Type: System.Boolean
Implements
IMessageProvider.CreatePublisher(TeamFoundationRequestContext, String, Boolean)
.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.