RouteCreationException 构造函数

定义

重载

RouteCreationException(String)

用指定的错误消息初始化 RouteCreationException 类的新实例。

RouteCreationException(String, Exception)

使用指定的错误消息和对作为此异常原因的内部异常的引用来初始化 RouteCreationException 类的新实例。

RouteCreationException(String)

Source:
RouteCreationException.cs
Source:
RouteCreationException.cs
Source:
RouteCreationException.cs

用指定的错误消息初始化 RouteCreationException 类的新实例。

public:
 RouteCreationException(System::String ^ message);
public RouteCreationException (string message);
new Microsoft.AspNetCore.Routing.RouteCreationException : string -> Microsoft.AspNetCore.Routing.RouteCreationException
Public Sub New (message As String)

参数

message
String

描述错误的消息。

适用于

RouteCreationException(String, Exception)

Source:
RouteCreationException.cs
Source:
RouteCreationException.cs
Source:
RouteCreationException.cs

使用指定的错误消息和对作为此异常原因的内部异常的引用来初始化 RouteCreationException 类的新实例。

public:
 RouteCreationException(System::String ^ message, Exception ^ innerException);
public RouteCreationException (string message, Exception innerException);
new Microsoft.AspNetCore.Routing.RouteCreationException : string * Exception -> Microsoft.AspNetCore.Routing.RouteCreationException
Public Sub New (message As String, innerException As Exception)

参数

message
String

解释异常原因的错误消息。

innerException
Exception

导致当前异常的异常。

适用于