共用方式為


WorkspaceDiagnostic(WorkspaceDiagnosticKind, String) 建構函式

定義

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

參數

message
String

適用於