Example #1
0
        public async Task EnsureExist()
        {
            var cloudTableClient = new CloudTableClient(this._account.TableEndpoint.ToString(), this._account.Credentials);

            await this.StorageRetryPolicy.ExecuteAsync(this.CreateTask(
                                                           async => cloudTableClient.BeginCreateTableIfNotExist(this._tableName, async, null),
                                                           res => cloudTableClient.EndCreateTableIfNotExist(res)));
        }