共用方式為


AnalyzerLoadFailureEventArgs Constructor

Definition

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