共用方式為


InvalidNavigationException 建構函式

定義

多載

InvalidNavigationException()
InvalidNavigationException(String)
InvalidNavigationException(SerializationInfo, StreamingContext)
已淘汰.
InvalidNavigationException(String, Exception)

InvalidNavigationException()

來源:
InvalidNavigationException.cs
來源:
InvalidNavigationException.cs
public:
 InvalidNavigationException();
public InvalidNavigationException ();
Public Sub New ()

適用於

InvalidNavigationException(String)

來源:
InvalidNavigationException.cs
來源:
InvalidNavigationException.cs
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)

來源:
InvalidNavigationException.cs
來源:
InvalidNavigationException.cs

警告

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)

參數

屬性

適用於

InvalidNavigationException(String, Exception)

來源:
InvalidNavigationException.cs
來源:
InvalidNavigationException.cs
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

適用於