DocumentDiagnostic(WorkspaceDiagnosticKind, String, DocumentId) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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