Share via


DurabilityProvider.RetrieveSerializedEntityState Method

Definition

Retrieves the state for a serialized entity.

public virtual System.Threading.Tasks.Task<string> RetrieveSerializedEntityState (Microsoft.Azure.WebJobs.Extensions.DurableTask.EntityId entityId, Newtonsoft.Json.JsonSerializerSettings serializierSettings);
abstract member RetrieveSerializedEntityState : Microsoft.Azure.WebJobs.Extensions.DurableTask.EntityId * Newtonsoft.Json.JsonSerializerSettings -> System.Threading.Tasks.Task<string>
override this.RetrieveSerializedEntityState : Microsoft.Azure.WebJobs.Extensions.DurableTask.EntityId * Newtonsoft.Json.JsonSerializerSettings -> System.Threading.Tasks.Task<string>
Public Overridable Function RetrieveSerializedEntityState (entityId As EntityId, serializierSettings As JsonSerializerSettings) As Task(Of String)

Parameters

entityId
EntityId

Entity id to fetch state for.

serializierSettings
Newtonsoft.Json.JsonSerializerSettings

JsonSerializerSettings for custom deserialization.

Returns

State for the entity.

Applies to