TeamFoundationMessageQueueService.QueueExists Method
Determines whether or not the specified queue is registered.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function QueueExists ( _
requestContext As TeamFoundationRequestContext, _
queueName As String _
) As Boolean
public bool QueueExists(
TeamFoundationRequestContext requestContext,
string queueName
)
public:
bool QueueExists(
TeamFoundationRequestContext^ requestContext,
String^ queueName
)
member QueueExists :
requestContext:TeamFoundationRequestContext *
queueName:string -> bool
public function QueueExists(
requestContext : TeamFoundationRequestContext,
queueName : String
) : boolean
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context
queueName
Type: System.StringThe name of the message queue
Return Value
Type: System.Boolean
True if the queue is registered; otherwise, false
.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.