Skip to content

AzureQueueJsonDataAdapterOptions

class

Namespace: Orleans.Streaming.AzureStorage.Providers.Streams.AzureQueue.Json

Configuration options for the Azure Queue JSON data adapter.
[System.Diagnostics.CodeAnalysis.Experimental(StreamingJsonSerializationExperimental, UrlFormat = https://github.com/dotnet/orleans/pull/9618)]
public class AzureQueueJsonDataAdapterOptions

Constructors

Properties

  • EnableFallback Gets or sets a value indicating whether to enable fallback to binary serialization when JSON serialization fails. Default is true.
  • PreferJson Gets or sets a value indicating whether to prefer JSON serialization/deserialization first, then fallback to binary. When false, it will try binary serialization/deserialization first, then fallback to JSON.