ManagementClient.deleteTopic(String path) 方法

定义

Deletes the topic described by the path relative to the service namespace base address.

public Void deleteTopic(String path)

参数

path
String

- The name of the entity relative to the service namespace base address.

例外

IllegalArgumentException

- path is not null / empty / too long / invalid.

TimeoutException

- The operation times out. The timeout period is initiated through ClientSettings.operationTimeout

AuthorizationFailedException

- No sufficient permission to perform this operation. Please check ClientSettings.tokenProvider has correct details.

ServerBusyException

- The server is busy. You should wait before you retry the operation.

ServiceBusException

- An internal error or an unexpected exception occurred.

MessagingEntityNotFoundException

- An entity with this name does not exist.

InterruptedException

if the current thread was interrupted

适用于