AnalyzerLoadFailureEventArgs 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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)
参数
- message
- String
- exceptionOpt
- Exception
- typeNameOpt
- String