WorkflowDesignerLoader.InDebugMode Property

Definition

Gets a value that indicates whether the workflow should be loaded in debug mode.

public virtual bool InDebugMode { get; }

Property Value

true if the workflow should be loaded in debug mode; otherwise, false. The default is false.

Examples

The following method determines whether the workflow designer is locked by the debugger if the InDebugMode property of the current WorkflowDesignerLoader returns true.

public bool IsDesignerLocked
{
    get
    {
        WorkflowDesignerLoader loader = GetService(typeof(WorkflowDesignerLoader)) as WorkflowDesignerLoader;
        if (loader != null && loader.InDebugMode)
            return true;

        return false;
    }
}

Applies to

제품 버전
.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