DurableTaskClientOptions.DataConverter 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.
Gets or sets the data converter. Default value is Default.
public Microsoft.DurableTask.DataConverter DataConverter { get; set; }
member this.DataConverter : Microsoft.DurableTask.DataConverter with get, set
Public Property DataConverter As DataConverter
Property Value
Remarks
This is used for serializing inputs and outputs of ITaskOrchestrator.
When set to null
, this will revert to Default.
Alternatively, you may add a DataConverter as a singleton service to the service container and this will be populated from that service (only f not manually set).
WARNING: When changing this value, ensure backwards compatibility is preserved for any in-flight orchestrations. If it is not, deserialization may fail.