DkmModule.GetSourceLinkData 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.
Overloads
GetSourceLinkData(DkmModuleInstance) |
Returns the contents of the source link stream data for a module if the stream exists. Location constraint: API must be called from an IDE component (component level > 100,000). This API was introduced in Visual Studio 17 RTM (DkmApiVersion.VS17RTM). |
GetSourceLinkData(DkmWorkList, DkmModuleInstance, DkmCompletionRoutine<DkmGetSourceLinkDataAsyncResult>) |
Returns the contents of the source link stream data for a module if the stream exists. This method will append a new work item to the specified work list, and return once the work item has been appended. The actual processing of the work item is asynchronous. The caller will be notified that the request is complete through the completion routine. Location constraint: API must be called from an IDE component (component level > 100,000). This API was introduced in Visual Studio 17 RTM (DkmApiVersion.VS17RTM). |
GetSourceLinkData(DkmModuleInstance)
Returns the contents of the source link stream data for a module if the stream exists.
Location constraint: API must be called from an IDE component (component level > 100,000).
This API was introduced in Visual Studio 17 RTM (DkmApiVersion.VS17RTM).
public string GetSourceLinkData (Microsoft.VisualStudio.Debugger.DkmModuleInstance ModuleInstance);
member this.GetSourceLinkData : Microsoft.VisualStudio.Debugger.DkmModuleInstance -> string
Public Function GetSourceLinkData (ModuleInstance As DkmModuleInstance) As String
Parameters
- ModuleInstance
- DkmModuleInstance
[In] The module instance for which Source Link data is being requested.
Returns
[Out] The contents of the Source Link configuration data.
Applies to
GetSourceLinkData(DkmWorkList, DkmModuleInstance, DkmCompletionRoutine<DkmGetSourceLinkDataAsyncResult>)
Returns the contents of the source link stream data for a module if the stream exists.
This method will append a new work item to the specified work list, and return once the work item has been appended. The actual processing of the work item is asynchronous. The caller will be notified that the request is complete through the completion routine.
Location constraint: API must be called from an IDE component (component level > 100,000).
This API was introduced in Visual Studio 17 RTM (DkmApiVersion.VS17RTM).
public void GetSourceLinkData (Microsoft.VisualStudio.Debugger.DkmWorkList WorkList, Microsoft.VisualStudio.Debugger.DkmModuleInstance ModuleInstance, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Symbols.DkmGetSourceLinkDataAsyncResult> CompletionRoutine);
member this.GetSourceLinkData : Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.DkmModuleInstance * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Symbols.DkmGetSourceLinkDataAsyncResult> -> unit
Public Sub GetSourceLinkData (WorkList As DkmWorkList, ModuleInstance As DkmModuleInstance, CompletionRoutine As DkmCompletionRoutine(Of DkmGetSourceLinkDataAsyncResult))
Parameters
- WorkList
- DkmWorkList
WorkList to append the new work item to.
- ModuleInstance
- DkmModuleInstance
[In] The module instance for which Source Link data is being requested.
- CompletionRoutine
- DkmCompletionRoutine<DkmGetSourceLinkDataAsyncResult>
Routine to fire when the request is complete. If the request is successfully appended to the work list, this will always fire (including when the operation is canceled). This will never fire if appending the work item fails.