CosmosClientBuilder.WithSerializerOptions(CosmosSerializationOptions) Method

Definition

Set a custom serializer option.

public Azure.Cosmos.Fluent.CosmosClientBuilder WithSerializerOptions (Azure.Cosmos.Serialization.CosmosSerializationOptions cosmosSerializerOptions);
member this.WithSerializerOptions : Azure.Cosmos.Serialization.CosmosSerializationOptions -> Azure.Cosmos.Fluent.CosmosClientBuilder
Public Function WithSerializerOptions (cosmosSerializerOptions As CosmosSerializationOptions) As CosmosClientBuilder

Parameters

cosmosSerializerOptions
CosmosSerializationOptions

The custom class that implements CosmosSerializer

Returns

CosmosClientBuilder

The CosmosClientBuilder object

Applies to

See also