public Task SetServicePropertiesAsync(ServiceProperties properties, CancellationToken cancellationToken)
 {
     return(AsyncExtensions.TaskFromVoidApm(this.BeginSetServiceProperties, this.EndSetServiceProperties, properties, cancellationToken));
 }
 public Task SetServicePropertiesAsync(ServiceProperties properties, TableRequestOptions requestOptions, OperationContext operationContext, CancellationToken cancellationToken)
 {
     return(AsyncExtensions.TaskFromVoidApm(this.BeginSetServiceProperties, this.EndSetServiceProperties, properties, requestOptions, operationContext, cancellationToken));
 }
예제 #3
0
 /// <summary>
 /// Initiates an asynchronous operation that performs an asynchronous flush operation.
 /// </summary>
 /// <param name="cancellationToken">A <see cref="CancellationToken"/> to observe while waiting for a task to complete.</param>
 /// <returns>A <see cref="Task"/> object that represents the asynchronous operation.</returns>
 public override Task FlushAsync(CancellationToken cancellationToken)
 {
     return(AsyncExtensions.TaskFromVoidApm(this.BeginFlush, this.EndFlush, cancellationToken));
 }