Udostępnij za pośrednictwem


DiagnosticCollection Class

Definition

Class containing one collection of diagnostics for a document (but not, necessarily, all diagnostics for that document).

public ref class DiagnosticCollection
[System.Runtime.Serialization.DataContract]
public class DiagnosticCollection
[<System.Runtime.Serialization.DataContract>]
type DiagnosticCollection = class
Public Class DiagnosticCollection
Inheritance
DiagnosticCollection
Attributes

Constructors

DiagnosticCollection(Uri, Int32, IReadOnlyList<Diagnostic>, Nullable<Int32>, Nullable<Int32>, Nullable<Guid>)

Initializes a new instance of the DiagnosticCollection class.

Properties

Diagnostics

Gets the list of diagnostics for DocumentMoniker.

DocumentMoniker

Gets the URI of the document containing the diagnostics. The URI is always a remote URI i.e. a URI that can be understood by both parties (server and client / host and guest) in shared scenarios.

DocumentVersionNumber

Gets the version number of the document.

Identifier

Gets the identifier for this collection.

OutputKey

Gets the output window key used to associate diagnostics in the collection with a line of text in the output window. The identifier for a specific diagnostic is specified by the OutputId property of the collection that contains it.

Supersedes

Gets the diagnostic version for this collection.

Applies to