WorkflowDesignerLoader.InDebugMode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates whether the workflow should be loaded in debug mode.
public:
virtual property bool InDebugMode { bool get(); };
public virtual bool InDebugMode { get; }
member this.InDebugMode : bool
Public Overridable ReadOnly Property InDebugMode As Boolean
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;
}
}
Public ReadOnly Property IsDesignerLocked() As Boolean
Get
Dim loader As WorkflowDesignerLoader = CType(GetService(GetType(WorkflowDesignerLoader)), WorkflowDesignerLoader)
If loader IsNot Nothing And loader.InDebugMode Then
Return True
End If
Return False
End Get
End Property
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET