Udostępnij za pośrednictwem


ProviderUtils.TryGetEntityStateFromSerializedSchedulerState Method

Definition

Reads the state of an entity from the serialized entity scheduler state.

public static bool TryGetEntityStateFromSerializedSchedulerState (DurableTask.Core.OrchestrationState state, Newtonsoft.Json.JsonSerializerSettings serializerSettings, out string result);
static member TryGetEntityStateFromSerializedSchedulerState : DurableTask.Core.OrchestrationState * Newtonsoft.Json.JsonSerializerSettings * string -> bool
Public Shared Function TryGetEntityStateFromSerializedSchedulerState (state As OrchestrationState, serializerSettings As JsonSerializerSettings, ByRef result As String) As Boolean

Parameters

state
DurableTask.Core.OrchestrationState

The orchestration state of the scheduler.

serializerSettings
Newtonsoft.Json.JsonSerializerSettings

The serializer settings.

result
String

The serialized state of the entity.

Returns

true if the entity exists, false otherwise.

Applies to