CosmosClientBuilder.AddCustomHandlers(RequestHandler[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets an array of custom handlers to the request. The handlers will be chained in the order listed. The InvokerHandler.InnerHandler is required to be null to allow the pipeline to chain the handlers.
public Microsoft.Azure.Cosmos.Fluent.CosmosClientBuilder AddCustomHandlers (params Microsoft.Azure.Cosmos.RequestHandler[] customHandlers);
member this.AddCustomHandlers : Microsoft.Azure.Cosmos.RequestHandler[] -> Microsoft.Azure.Cosmos.Fluent.CosmosClientBuilder
Public Function AddCustomHandlers (ParamArray customHandlers As RequestHandler()) As CosmosClientBuilder
Parameters
- customHandlers
- RequestHandler[]
A list of RequestHandler instaces to add to the pipeline.
Returns
The current CosmosClientBuilder.
Applies to
See also
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET