Condividi tramite


DkmScriptDocument.TryResolve(DkmSourceFileId) Method

Definition

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.

Location constraint: API must be called from an IDE component (component level > 100,000).

public:
 Microsoft::VisualStudio::Debugger::Symbols::DkmResolvedDocument ^ TryResolve(Microsoft::VisualStudio::Debugger::Symbols::DkmSourceFileId ^ SourceFileId);
public Microsoft.VisualStudio.Debugger.Symbols.DkmResolvedDocument TryResolve (Microsoft.VisualStudio.Debugger.Symbols.DkmSourceFileId SourceFileId);
public Microsoft.VisualStudio.Debugger.Symbols.DkmResolvedDocument? TryResolve (Microsoft.VisualStudio.Debugger.Symbols.DkmSourceFileId SourceFileId);
member this.TryResolve : Microsoft.VisualStudio.Debugger.Symbols.DkmSourceFileId -> Microsoft.VisualStudio.Debugger.Symbols.DkmResolvedDocument
Public Function TryResolve (SourceFileId As DkmSourceFileId) As DkmResolvedDocument

Parameters

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.

Applies to