Share via


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

內部例外狀況。

適用於