ManagementClient.getQueues 方法

定义

重载

getQueues()

Retrieves the list of queues present in the namespace.

getQueues(int count, int skip)

Retrieves the list of queues present in the namespace. You can simulate pages of list of entities by manipulating count and skip parameters. skip(0)+count(100) gives first 100 entities. skip(100)+count(100) gives the next 100 entities.

getQueues()

Retrieves the list of queues present in the namespace.

public List<QueueDescription> getQueues()

返回

the first 100 queues.

例外

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.

InterruptedException

if the current thread was interrupted

getQueues(int count, int skip)

Retrieves the list of queues present in the namespace. You can simulate pages of list of entities by manipulating count and skip parameters. skip(0)+count(100) gives first 100 entities. skip(100)+count(100) gives the next 100 entities.

public List<QueueDescription> getQueues(int count, int skip)

参数

count
int

- The number of queues to fetch. Defaults to 100. Maximum value allowed is 100.

skip
int

- The number of queues to skip. Defaults to 0. Cannot be negative.

返回

the list of queues.

例外

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.

InterruptedException

if the current thread was interrupted

适用于