Method WaitForLocalReplicaInitAsync
WaitForLocalReplicaInitAsync(string, TimeSpan?, TimeSpan?, CancellationToken)
Cloud Service only.
Waits asynchronously for local table replica to complete its
initialization.
Declaration
public Task<TableResult> WaitForLocalReplicaInitAsync(string tableName, TimeSpan? timeout = null, TimeSpan? pollDelay = null, CancellationToken cancellationToken = default)
Parameters
| Type |
Name |
Description |
| string |
tableName |
Name of the table. |
| TimeSpan? |
timeout |
(Optional) Timeout reflecting how long to
keep polling for the operation completion. Must be positive
value. Defaults to TablePollTimeout
if the latter is set or to no timeout if the latter is not set.
(Optional) Delay between successive polls,
determines how often the polls are performed. Must be positive
value and not greater than the timeout. Defaults to
TablePollDelay.(Optional) Cancellation token. |
| TimeSpan? |
pollDelay |
(Optional) Timeout reflecting how long to
keep polling for the operation completion. Must be positive
value. Defaults to TablePollTimeout
if the latter is set or to no timeout if the latter is not set.
(Optional) Delay between successive polls,
determines how often the polls are performed. Must be positive
value and not greater than the timeout. Defaults to
TablePollDelay.(Optional) Cancellation token. |
| CancellationToken |
cancellationToken |
(Optional) Cancellation token. |
Returns
Exceptions
See Also
WaitForLocalReplicaInitAsync(string, TableCompletionOptions, CancellationToken)
Cloud Service only.
Waits asynchronously for local table replica to complete its
initialization.
Declaration
public Task<TableResult> WaitForLocalReplicaInitAsync(string tableName, TableCompletionOptions options, CancellationToken cancellationToken = default)
Parameters
Returns
Exceptions
See Also