CosmosClient.ResponseFactory Property
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.
The response factory used to create CosmosClient response types.
public virtual Microsoft.Azure.Cosmos.CosmosResponseFactory ResponseFactory { get; }
member this.ResponseFactory : Microsoft.Azure.Cosmos.CosmosResponseFactory
Public Overridable ReadOnly Property ResponseFactory As CosmosResponseFactory
Property Value
Remarks
This can be used for generating responses for tests, and allows users to create a custom container that modifies the response. For example the client encryption uses this to decrypt responses before returning to the caller.
Applies to
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