你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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