WorkflowSuspendedEventArgs.Error Property

Definition

Gets the description of why the workflow instance was suspended.

public:
 property System::String ^ Error { System::String ^ get(); };
public string Error { get; }
member this.Error : string
Public ReadOnly Property Error As String

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