Condividi tramite


DkmScriptDocument.SetJmcState(DkmScriptDocumentJmcState) Method

Definition

Sets the JMC state for the script document. If the value is "Unsure", the script debug monitor can make its own determination of the JMC state or ask a project system for the JMC state.

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

public:
 void SetJmcState(Microsoft::VisualStudio::Debugger::Script::DkmScriptDocumentJmcState NewValue);
public:
 void SetJmcState(Microsoft::VisualStudio::Debugger::Script::DkmScriptDocumentJmcState NewValue);
void SetJmcState(Microsoft::VisualStudio::Debugger::Script::DkmScriptDocumentJmcState NewValue);
public void SetJmcState (Microsoft.VisualStudio.Debugger.Script.DkmScriptDocumentJmcState NewValue);
member this.SetJmcState : Microsoft.VisualStudio.Debugger.Script.DkmScriptDocumentJmcState -> unit
Public Sub SetJmcState (NewValue As DkmScriptDocumentJmcState)

Parameters

NewValue
DkmScriptDocumentJmcState

[In] The Just-My-Code state of the document exposed via the DkmScriptDocument.JmcState variable. The JMC state of the document is ignored if JMC is not enabled and all documents are treated as user code.

Applies to