Delen via


IDurableOrchestrationContext.SetCustomStatus(Object) Method

Definition

Sets the JSON-serializeable status of the current orchestrator function.

public void SetCustomStatus (object customStatusObject);
abstract member SetCustomStatus : obj -> unit
Public Sub SetCustomStatus (customStatusObject As Object)

Parameters

customStatusObject
Object

The JSON-serializeable value to use as the orchestrator function's custom status.

Remarks

The customStatusObject value is serialized to JSON and will be made available to the orchestration status query APIs. The serialized JSON value must not exceed 16 KB of UTF-16 encoded text.

Applies to