共用方式為


DkmNativeRuntimeInstance.CommitCodeChange Method

Definition

Commit all the pending in-memory edit to debuggee.

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

This API was introduced in Visual Studio 14 RTM (DkmApiVersion.VS14RTM).

public:
 void CommitCodeChange([Runtime::InteropServices::Out] System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ % Warnings, [Runtime::InteropServices::Out] System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ % Errors);
public void CommitCodeChange (out System.Collections.ObjectModel.ReadOnlyCollection<string> Warnings, out System.Collections.ObjectModel.ReadOnlyCollection<string> Errors);
member this.CommitCodeChange : ReadOnlyCollection * ReadOnlyCollection -> unit
Public Sub CommitCodeChange (ByRef Warnings As ReadOnlyCollection(Of String), ByRef Errors As ReadOnlyCollection(Of String))

Parameters

Warnings
ReadOnlyCollection<String>

[Out,Optional] Warning messages, if any.

Errors
ReadOnlyCollection<String>

[Out,Optional] Error messages, if any.

Applies to