CompilationWithAnalyzersOptions 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
CompilationWithAnalyzersOptions(AnalyzerOptions, Action<Exception,DiagnosticAnalyzer,Diagnostic>, Boolean, Boolean)
새 CompilationWithAnalyzersOptions를 만듭니다.
public:
CompilationWithAnalyzersOptions(Microsoft::CodeAnalysis::Diagnostics::AnalyzerOptions ^ options, Action<Exception ^, Microsoft::CodeAnalysis::Diagnostics::DiagnosticAnalyzer ^, Microsoft::CodeAnalysis::Diagnostic ^> ^ onAnalyzerException, bool concurrentAnalysis, bool logAnalyzerExecutionTime);
public CompilationWithAnalyzersOptions (Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions options, Action<Exception,Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer,Microsoft.CodeAnalysis.Diagnostic> onAnalyzerException, bool concurrentAnalysis, bool logAnalyzerExecutionTime);
public CompilationWithAnalyzersOptions (Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions options, Action<Exception,Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer,Microsoft.CodeAnalysis.Diagnostic>? onAnalyzerException, bool concurrentAnalysis, bool logAnalyzerExecutionTime);
new Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzersOptions : Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions * Action<Exception, Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer, Microsoft.CodeAnalysis.Diagnostic> * bool * bool -> Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzersOptions
Public Sub New (options As AnalyzerOptions, onAnalyzerException As Action(Of Exception, DiagnosticAnalyzer, Diagnostic), concurrentAnalysis As Boolean, logAnalyzerExecutionTime As Boolean)
매개 변수
- options
- AnalyzerOptions
분석기로 전달되는 옵션입니다.
- onAnalyzerException
- Action<Exception,DiagnosticAnalyzer,Diagnostic>
분석기가 예외를 throw하는 경우 호출하는 작업입니다.
- concurrentAnalysis
- Boolean
여러 스레드에서 동시에 분석을 수행할 수 있는지 여부를 나타내는 플래그입니다.
- logAnalyzerExecutionTime
- Boolean
분석기 실행 시간을 기록해야 하는지 여부를 나타내는 플래그입니다.
적용 대상
CompilationWithAnalyzersOptions(AnalyzerOptions, Action<Exception,DiagnosticAnalyzer,Diagnostic>, Boolean, Boolean, Boolean)
새 CompilationWithAnalyzersOptions를 만듭니다.
public:
CompilationWithAnalyzersOptions(Microsoft::CodeAnalysis::Diagnostics::AnalyzerOptions ^ options, Action<Exception ^, Microsoft::CodeAnalysis::Diagnostics::DiagnosticAnalyzer ^, Microsoft::CodeAnalysis::Diagnostic ^> ^ onAnalyzerException, bool concurrentAnalysis, bool logAnalyzerExecutionTime, bool reportSuppressedDiagnostics);
public CompilationWithAnalyzersOptions (Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions options, Action<Exception,Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer,Microsoft.CodeAnalysis.Diagnostic> onAnalyzerException, bool concurrentAnalysis, bool logAnalyzerExecutionTime, bool reportSuppressedDiagnostics);
public CompilationWithAnalyzersOptions (Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions options, Action<Exception,Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer,Microsoft.CodeAnalysis.Diagnostic>? onAnalyzerException, bool concurrentAnalysis, bool logAnalyzerExecutionTime, bool reportSuppressedDiagnostics);
new Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzersOptions : Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions * Action<Exception, Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer, Microsoft.CodeAnalysis.Diagnostic> * bool * bool * bool -> Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzersOptions
Public Sub New (options As AnalyzerOptions, onAnalyzerException As Action(Of Exception, DiagnosticAnalyzer, Diagnostic), concurrentAnalysis As Boolean, logAnalyzerExecutionTime As Boolean, reportSuppressedDiagnostics As Boolean)
매개 변수
- options
- AnalyzerOptions
분석기로 전달되는 옵션입니다.
- onAnalyzerException
- Action<Exception,DiagnosticAnalyzer,Diagnostic>
분석기가 예외를 throw하는 경우 호출하는 작업입니다.
- concurrentAnalysis
- Boolean
여러 스레드에서 동시에 분석을 수행할 수 있는지 여부를 나타내는 플래그입니다.
- logAnalyzerExecutionTime
- Boolean
분석기 실행 시간을 기록해야 하는지 여부를 나타내는 플래그입니다.
- reportSuppressedDiagnostics
- Boolean
분석기 진단을 IsSuppressed 보고해야 하는지 여부를 나타내는 플래그입니다.
적용 대상
CompilationWithAnalyzersOptions(AnalyzerOptions, Action<Exception,DiagnosticAnalyzer,Diagnostic>, Boolean, Boolean, Boolean, Func<Exception,Boolean>)
새 CompilationWithAnalyzersOptions를 만듭니다.
public:
CompilationWithAnalyzersOptions(Microsoft::CodeAnalysis::Diagnostics::AnalyzerOptions ^ options, Action<Exception ^, Microsoft::CodeAnalysis::Diagnostics::DiagnosticAnalyzer ^, Microsoft::CodeAnalysis::Diagnostic ^> ^ onAnalyzerException, bool concurrentAnalysis, bool logAnalyzerExecutionTime, bool reportSuppressedDiagnostics, Func<Exception ^, bool> ^ analyzerExceptionFilter);
public CompilationWithAnalyzersOptions (Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions options, Action<Exception,Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer,Microsoft.CodeAnalysis.Diagnostic> onAnalyzerException, bool concurrentAnalysis, bool logAnalyzerExecutionTime, bool reportSuppressedDiagnostics, Func<Exception,bool> analyzerExceptionFilter);
public CompilationWithAnalyzersOptions (Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions? options, Action<Exception,Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer,Microsoft.CodeAnalysis.Diagnostic>? onAnalyzerException, bool concurrentAnalysis, bool logAnalyzerExecutionTime, bool reportSuppressedDiagnostics, Func<Exception,bool>? analyzerExceptionFilter);
new Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzersOptions : Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions * Action<Exception, Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer, Microsoft.CodeAnalysis.Diagnostic> * bool * bool * bool * Func<Exception, bool> -> Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzersOptions
Public Sub New (options As AnalyzerOptions, onAnalyzerException As Action(Of Exception, DiagnosticAnalyzer, Diagnostic), concurrentAnalysis As Boolean, logAnalyzerExecutionTime As Boolean, reportSuppressedDiagnostics As Boolean, analyzerExceptionFilter As Func(Of Exception, Boolean))
매개 변수
- options
- AnalyzerOptions
분석기로 전달되는 옵션입니다.
- onAnalyzerException
- Action<Exception,DiagnosticAnalyzer,Diagnostic>
분석기가 예외를 throw하는 경우 호출하는 작업입니다.
- concurrentAnalysis
- Boolean
여러 스레드에서 동시에 분석을 수행할 수 있는지 여부를 나타내는 플래그입니다.
- logAnalyzerExecutionTime
- Boolean
분석기 실행 시간을 기록해야 하는지 여부를 나타내는 플래그입니다.
- reportSuppressedDiagnostics
- Boolean
분석기 진단을 IsSuppressed 보고해야 하는지 여부를 나타내는 플래그입니다.
적용 대상
.NET