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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET