InvalidNavigationException 构造函数

定义

重载

InvalidNavigationException()
InvalidNavigationException(String)
InvalidNavigationException(SerializationInfo, StreamingContext)
已过时.
InvalidNavigationException(String, Exception)

InvalidNavigationException()

Source:
InvalidNavigationException.cs
Source:
InvalidNavigationException.cs
public:
 InvalidNavigationException();
public InvalidNavigationException ();
Public Sub New ()

适用于

InvalidNavigationException(String)

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

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

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

适用于