Share via


DurableTaskWorkerOptions.DataConverter Property

Definition

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 and ITaskActivity.

When set to null, this will revert to Default.

WARNING: When changing this value, ensure backwards compatibility is preserved for any in-flight orchestrations. If it is not, deserialization - and the orchestration - may fail.

Applies to