Class DefaultFailureConverter
Default implementation of IFailureConverter.
Implements
Namespace: Temporalio.Converters
Assembly: Temporalio.dll
Syntax
public class DefaultFailureConverter : object, IFailureConverter
Constructors
DefaultFailureConverter()
Initializes a new instance of the DefaultFailureConverter class.
Declaration
public DefaultFailureConverter()
DefaultFailureConverter(DefaultFailureConverterOptions)
Initializes a new instance of the DefaultFailureConverter class.
Declaration
protected DefaultFailureConverter(DefaultFailureConverterOptions options)
Parameters
Type | Name | Description |
---|---|---|
DefaultFailureConverterOptions | options | Options for the failure converter. |
Remarks
This is protected because payload converters are referenced as class types, not instances, so only subclasses would call this.
Properties
Options
Gets the options this converter was created with.
Declaration
public DefaultFailureConverterOptions Options { get; }
Property Value
Type | Description |
---|---|
DefaultFailureConverterOptions |
Remarks
Callers should never mutate this. Rather they should subclass the failure converter and pass a different value into the protected constructor.