Freigeben über


IDkmScriptDocumentSymbolProvider Interface

Definition

Implemented by components which create DkmScriptDocument objects, and use them as the basis of symbol resolution. This interface doesn't need to be implemented by script document system which leave DkmResolvedDocument.ScriptDocument as null.

Implementations of this interface may restrict when they are called using a filter defined in their component configuration. The following properties may be used: BaseDebugMonitorId, EngineId, RuntimeId, SymbolProviderId.

public interface class IDkmScriptDocumentSymbolProvider
public interface class IDkmScriptDocumentSymbolProvider
__interface IDkmScriptDocumentSymbolProvider
public interface IDkmScriptDocumentSymbolProvider
type IDkmScriptDocumentSymbolProvider = interface
Public Interface IDkmScriptDocumentSymbolProvider

Methods

SetRaiseSymbolEvents(DkmScriptDocument, Boolean)

Enables or disables raising ScriptSymbolsUpdated when symbols in the document are changed. By default, documents do not generate symbol events. So this method should be called by any component that wishes to receive symbol events. The script document manager maintains a count of the number of calls to enable symbol events, and will raise events whenever this count is greater than 0. Callers should take care to ensure that SetRaiseSymbolEvents(false) is called ONLY after a successful call to SetRaiseSymbolEvents(true). Symbol events are automatically disabled when the document is unloaded.

Applies to