WorkflowSuspendedEventArgs.Error Property

Definition

Gets the description of why the workflow instance was suspended.

public string Error { get; }

Property Value

The description of why the workflow instance was suspended.

Remarks

If the host suspends the workflow instance, it supplies a reason for the suspension in the string parameter to WorkflowInstance.Suspend. If the workflow is suspended by a SuspendActivity activity, the reason is supplied by SuspendActivity.Error. Otherwise, the workflow runtime engine supplies a reason for the suspension.

Applies to

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1