Deletes the specified WorkflowQueue.
Assembly: System.Workflow.Runtime (in System.Workflow.Runtime.dll)
queueName is a null reference (Nothing in Visual Basic).
The following code example demonstrates a method that writes a string to the console, creates an instance of WorkflowQueuingService by calling the ActivityExecutionContext.GetService method. Finally, the code calls the method to delete the queue associated with a QueueName property on the current workflow.
This code example is part of the File Watcher Activity SDK Sample from the FileSystemEvent.cs file. For more information, see File System Watcher Activity.