AnalyzerLoadFailureEventArgs Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public AnalyzerLoadFailureEventArgs (Microsoft.CodeAnalysis.Diagnostics.AnalyzerLoadFailureEventArgs.FailureErrorCode errorCode, string message, Exception exceptionOpt = default, string typeNameOpt = default);
public AnalyzerLoadFailureEventArgs (Microsoft.CodeAnalysis.Diagnostics.AnalyzerLoadFailureEventArgs.FailureErrorCode errorCode, string message, Exception? exceptionOpt = default, string? typeNameOpt = default);
new Microsoft.CodeAnalysis.Diagnostics.AnalyzerLoadFailureEventArgs : Microsoft.CodeAnalysis.Diagnostics.AnalyzerLoadFailureEventArgs.FailureErrorCode * string * Exception * string -> Microsoft.CodeAnalysis.Diagnostics.AnalyzerLoadFailureEventArgs
Public Sub New (errorCode As AnalyzerLoadFailureEventArgs.FailureErrorCode, message As String, Optional exceptionOpt As Exception = Nothing, Optional typeNameOpt As String = Nothing)
Parameters
- message
- String
- exceptionOpt
- Exception
- typeNameOpt
- String
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.