Share via


TeamFoundationMessageQueueService.EmptyQueue Method

Empties the contents of the message queue by marking any outstanding messages acknowledged.

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

Syntax

'Declaration
Public Sub EmptyQueue ( _
    requestContext As TeamFoundationRequestContext, _
    queueName As String _
)
public void EmptyQueue(
    TeamFoundationRequestContext requestContext,
    string queueName
)
public:
void EmptyQueue(
    TeamFoundationRequestContext^ requestContext, 
    String^ queueName
)
member EmptyQueue : 
        requestContext:TeamFoundationRequestContext * 
        queueName:string -> unit
public function EmptyQueue(
    requestContext : TeamFoundationRequestContext, 
    queueName : String
)

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationMessageQueueService Class

Microsoft.TeamFoundation.Framework.Server Namespace