共用方式為


DocumentDiagnostic(WorkspaceDiagnosticKind, String, DocumentId) 建構函式

定義

public:
 DocumentDiagnostic(Microsoft::CodeAnalysis::WorkspaceDiagnosticKind kind, System::String ^ message, Microsoft::CodeAnalysis::DocumentId ^ documentId);
public DocumentDiagnostic (Microsoft.CodeAnalysis.WorkspaceDiagnosticKind kind, string message, Microsoft.CodeAnalysis.DocumentId documentId);
new Microsoft.CodeAnalysis.DocumentDiagnostic : Microsoft.CodeAnalysis.WorkspaceDiagnosticKind * string * Microsoft.CodeAnalysis.DocumentId -> Microsoft.CodeAnalysis.DocumentDiagnostic
Public Sub New (kind As WorkspaceDiagnosticKind, message As String, documentId As DocumentId)

參數

message
String
documentId
DocumentId

適用於