コード例 #1
0
 public override Task <ItemResponse <T> > PatchItemAsync <T>(
     string id,
     PartitionKey partitionKey,
     IReadOnlyList <PatchOperation> patchOperations,
     PatchItemRequestOptions requestOptions = null,
     CancellationToken cancellationToken    = default)
 {
     return(this.ClientContext.OperationHelperAsync(
                nameof(PatchItemAsync),
                requestOptions,
                (diagnostics, trace) => base.PatchItemAsync <T>(diagnostics, id, partitionKey, patchOperations, trace, requestOptions, cancellationToken)));
 }
コード例 #2
0
 public override Task <ResponseMessage> PatchItemStreamAsync(
     string id,
     PartitionKey partitionKey,
     IReadOnlyList <PatchOperation> patchOperations,
     PatchItemRequestOptions requestOptions = null,
     CancellationToken cancellationToken    = default)
 {
     return(this.ClientContext.OperationHelperAsync(
                nameof(PatchItemStreamAsync),
                requestOptions,
                (trace) => base.PatchItemStreamAsync(id, partitionKey, patchOperations, trace, requestOptions, cancellationToken),
                (response) => new OpenTelemetryResponse(response)));
 }
コード例 #3
0
 public abstract Task <ItemResponse <T> > PatchItemAsync <T>(
     string id,
     PartitionKey partitionKey,
     IReadOnlyList <PatchOperation> patchOperations,
     PatchItemRequestOptions requestOptions = null,
     CancellationToken cancellationToken    = default);