共用方式為


ProjectDiagnostic(WorkspaceDiagnosticKind, String, ProjectId) 建構函式

定義

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

參數

message
String
projectId
ProjectId

適用於