Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- requestContext 
 Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext- The request context 
- queueName 
 Type: System.String- The name of the queue 
.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.