Rename Queue(String, String)
Renames a queue inside a namespace.
public Microsoft.ServiceBus.Messaging.QueueDescription RenameQueue (string path, string newPath);
The path to an existing queue.
The new path to the renamed queue.
path is null or empty.
Thrown when the length of
path is more than 290 characters.
Thrown when the operation times out. The timeout period is initialized through the NamespaceManagerSettings class. You can increase the value of the OperationTimeout property to avoid this exception if the timeout value is relatively low.
Thrown when the source queue with the specified path does not exist.
Thrown when the target queue with the same path exists within the same namespace.
Thrown when the client does not have credentials to perform the operation.
Thrown when an internal error or unexpected exception occurs.