EditResponse Class

Definition

Describes the cumulative result of a call to EditAsync(Action<IEditBatch>, CancellationToken).

public sealed class EditResponse
type EditResponse = class
Public NotInheritable Class EditResponse
Inheritance
EditResponse

Constructors

EditResponse(Boolean, String, IReadOnlyDictionary<ITextDocumentSnapshot, TextDocumentSnapshotEditResponse>, IReadOnlyDictionary<ITextViewSnapshot, TextViewEditResponse>)

Initializes a new instance of the EditResponse class.

Properties

DocumentEditResults

Gets or sets per-document operation results including per document errors and updated ITextDocumentSnapshot versions.

Message

Gets any cumulative error message, null, or Empty if none.

Succeeded

Gets a value indicating whether the cumulative operation completed successfully.

TextViewEditResults

Gets or sets per text view operation results including per text view errors and updated ITextViewSnapshot versions.

Applies to