InvalidNavigationException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
InvalidNavigationException() | |
InvalidNavigationException(String) | |
InvalidNavigationException(SerializationInfo, StreamingContext) |
Obsolete.
|
InvalidNavigationException(String, Exception) |
InvalidNavigationException()
public:
InvalidNavigationException();
public InvalidNavigationException ();
Public Sub New ()
Applies to
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)
Parameters
- message
- String
Applies to
InvalidNavigationException(SerializationInfo, StreamingContext)
Caution
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)
Parameters
- info
- SerializationInfo
- context
- StreamingContext
- Attributes
Applies to
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)
Parameters
- message
- String
- innerException
- Exception
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.