Share via


DkmModule.GetSourceServerData Method

Definition

Overloads

GetSourceServerData(DkmModuleInstance)

Returns the contents of the source server stream data for a module if the stream exists.

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

GetSourceServerData(DkmWorkList, DkmModuleInstance, DkmCompletionRoutine<DkmGetSourceServerDataAsyncResult>)

Returns the contents of the source server 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).

GetSourceServerData(DkmModuleInstance)

Returns the contents of the source server stream data for a module if the stream exists.

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

public:
 cli::array <System::Byte> ^ GetSourceServerData(Microsoft::VisualStudio::Debugger::DkmModuleInstance ^ ModuleInstance);
public byte[] GetSourceServerData (Microsoft.VisualStudio.Debugger.DkmModuleInstance ModuleInstance);
member this.GetSourceServerData : Microsoft.VisualStudio.Debugger.DkmModuleInstance -> byte[]
Public Function GetSourceServerData (ModuleInstance As DkmModuleInstance) As Byte()

Parameters

ModuleInstance
DkmModuleInstance

[In] The module instance for which symbol server data is being requested.

Returns

Byte[]

[Out] True if this address is the first address in the line's range. False otherwise.

Applies to

GetSourceServerData(DkmWorkList, DkmModuleInstance, DkmCompletionRoutine<DkmGetSourceServerDataAsyncResult>)

Returns the contents of the source server 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).

public void GetSourceServerData (Microsoft.VisualStudio.Debugger.DkmWorkList WorkList, Microsoft.VisualStudio.Debugger.DkmModuleInstance ModuleInstance, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Symbols.DkmGetSourceServerDataAsyncResult> CompletionRoutine);
member this.GetSourceServerData : Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.DkmModuleInstance * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Symbols.DkmGetSourceServerDataAsyncResult> -> unit
Public Sub GetSourceServerData (WorkList As DkmWorkList, ModuleInstance As DkmModuleInstance, CompletionRoutine As DkmCompletionRoutine(Of DkmGetSourceServerDataAsyncResult))

Parameters

WorkList
DkmWorkList

WorkList to append the new work item to.

ModuleInstance
DkmModuleInstance

[In] The module instance for which symbol server data is being requested.

CompletionRoutine
DkmCompletionRoutine<DkmGetSourceServerDataAsyncResult>

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.

Applies to