다음을 통해 공유


SyntaxTreeOptionsProvider.TryGetGlobalDiagnosticValue 메서드

정의

지정된 진단 식별자에 대해 전역적으로 진단 심각도 집합 가져오기

public abstract bool TryGetGlobalDiagnosticValue (string diagnosticId, System.Threading.CancellationToken cancellationToken, out Microsoft.CodeAnalysis.ReportDiagnostic severity);
abstract member TryGetGlobalDiagnosticValue : string * System.Threading.CancellationToken * ReportDiagnostic -> bool
Public MustOverride Function TryGetGlobalDiagnosticValue (diagnosticId As String, cancellationToken As CancellationToken, ByRef severity As ReportDiagnostic) As Boolean

매개 변수

diagnosticId
String
cancellationToken
CancellationToken
severity
ReportDiagnostic

반환

적용 대상