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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context
queueName
Type: System.StringThe 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.