InvalidNavigationException 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
InvalidNavigationException() | |
InvalidNavigationException(String) | |
InvalidNavigationException(SerializationInfo, StreamingContext) |
已淘汰.
|
InvalidNavigationException(String, Exception) |
InvalidNavigationException()
public:
InvalidNavigationException();
public InvalidNavigationException ();
Public Sub New ()
適用於
InvalidNavigationException(String)
public:
InvalidNavigationException(System::String ^ message);
public InvalidNavigationException (string message);
new Microsoft.Maui.Controls.InvalidNavigationException : string -> Microsoft.Maui.Controls.InvalidNavigationException
Public Sub New (message As String)
參數
- message
- String
適用於
InvalidNavigationException(SerializationInfo, StreamingContext)
警告
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
protected:
InvalidNavigationException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected InvalidNavigationException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new Microsoft.Maui.Controls.InvalidNavigationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Maui.Controls.InvalidNavigationException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
參數
- info
- SerializationInfo
- context
- StreamingContext
- 屬性
適用於
InvalidNavigationException(String, Exception)
public:
InvalidNavigationException(System::String ^ message, Exception ^ innerException);
public InvalidNavigationException (string message, Exception innerException);
new Microsoft.Maui.Controls.InvalidNavigationException : string * Exception -> Microsoft.Maui.Controls.InvalidNavigationException
Public Sub New (message As String, innerException As Exception)
參數
- message
- String
- innerException
- Exception