IDkmScriptDocumentQuery.TryResolve(DkmScriptDocument, DkmSourceFileId) Method
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.
This method is called when a script document is created or when the project item path is set to try and bind breakpoints against the given script document.
public:
Microsoft::VisualStudio::Debugger::Symbols::DkmResolvedDocument ^ TryResolve(Microsoft::VisualStudio::Debugger::Script::DkmScriptDocument ^ scriptDocument, Microsoft::VisualStudio::Debugger::Symbols::DkmSourceFileId ^ sourceFileId);
public Microsoft.VisualStudio.Debugger.Symbols.DkmResolvedDocument TryResolve (Microsoft.VisualStudio.Debugger.Script.DkmScriptDocument scriptDocument, Microsoft.VisualStudio.Debugger.Symbols.DkmSourceFileId sourceFileId);
public Microsoft.VisualStudio.Debugger.Symbols.DkmResolvedDocument? TryResolve (Microsoft.VisualStudio.Debugger.Script.DkmScriptDocument scriptDocument, Microsoft.VisualStudio.Debugger.Symbols.DkmSourceFileId sourceFileId);
abstract member TryResolve : Microsoft.VisualStudio.Debugger.Script.DkmScriptDocument * Microsoft.VisualStudio.Debugger.Symbols.DkmSourceFileId -> Microsoft.VisualStudio.Debugger.Symbols.DkmResolvedDocument
Public Function TryResolve (scriptDocument As DkmScriptDocument, sourceFileId As DkmSourceFileId) As DkmResolvedDocument
Parameters
- scriptDocument
- DkmScriptDocument
[In] Represents a document which is executing in a script runtime environment. For example, the Microsoft JavaScript engine.
- sourceFileId
- DkmSourceFileId
[In] Identifies a source file and provides the information which a symbol handler could use to search a symbol file (PDB) for information on this source file.
Returns
[Out,Optional] If the given script document matches the given source file id, this returns a DkmResolvedDocument for the match. Otherwise, null is returned.