LocationChangeException(String, Exception) 构造函数

定义

创建 LocationChangeException 的新实例。

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

参数

message
String

异常消息。

innerException
Exception

内部异常。

适用于