DkmFindSymbolsAsyncResult Struct
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.
Result of an asynchronous DkmResolvedDocument.FindSymbols call.
public value class DkmFindSymbolsAsyncResult
struct DkmFindSymbolsAsyncResult
public struct DkmFindSymbolsAsyncResult
type DkmFindSymbolsAsyncResult = struct
Public Structure DkmFindSymbolsAsyncResult
- Inheritance
-
DkmFindSymbolsAsyncResult
Constructors
DkmFindSymbolsAsyncResult(DkmInstructionSymbol[], DkmSourcePosition[]) |
Creates a new result structure to hold the output from a successful call to DkmResolvedDocument.FindSymbols. |
Properties
ErrorCode |
HRESULT code returned from the caller. This will be DkmExceptionCode.COR_E_OPERATIONCANCELED (0x8013153B) if the operation was canceled before processing was complete. E_TEXT_SPAN_NOT_LOADED indicates that TextSpan is not currently loaded in the specified script document. E_SCRIPT_SPAN_MAPPING_FAILED indicates that TextSpan could not be mapped to a location in the specified script document. E_SCRIPT_FILE_DIFFERENT_CONTENT indicates that the content in the script file loaded by the target process doesn't match the provided Text. |
InstructionSymbols |
[Optional] The found instruction symbols which are within the specified text span. |
SymbolLocation |
[Optional] The source location of each returned instruction symbol. The length of this array should be the same of the returned instruction symbol array. |
Methods
CreateErrorResult(Exception) |
Creates a new result structure to hold the error from a failed call to DkmResolvedDocument.FindSymbols. |