LocationChangeException(String, Exception) 建構函式
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立 LocationChangeException 的新執行個體。
public:
LocationChangeException(System::String ^ message, Exception ^ innerException);
C#
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
內部例外狀況。
產品 | 版本 |
---|---|
ASP.NET Core | 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |