UnreachableException 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
UnreachableException() |
Initializes a new instance of the UnreachableException class with the default error message. |
UnreachableException(String) |
Initializes a new instance of the UnreachableException class with a specified error message. |
UnreachableException(String, Exception) |
Initializes a new instance of the UnreachableException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
UnreachableException()
- Source:
- UnreachableException.cs
- Source:
- UnreachableException.cs
- Source:
- UnreachableException.cs
Initializes a new instance of the UnreachableException class with the default error message.
public:
UnreachableException();
public UnreachableException ();
Public Sub New ()
Applies to
UnreachableException(String)
- Source:
- UnreachableException.cs
- Source:
- UnreachableException.cs
- Source:
- UnreachableException.cs
Initializes a new instance of the UnreachableException class with a specified error message.
public:
UnreachableException(System::String ^ message);
public UnreachableException (string? message);
new System.Diagnostics.UnreachableException : string -> System.Diagnostics.UnreachableException
Public Sub New (message As String)
Parameters
- message
- String
The error message that explains the reason for the exception.
Applies to
UnreachableException(String, Exception)
- Source:
- UnreachableException.cs
- Source:
- UnreachableException.cs
- Source:
- UnreachableException.cs
Initializes a new instance of the UnreachableException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public:
UnreachableException(System::String ^ message, Exception ^ innerException);
public UnreachableException (string? message, Exception? innerException);
new System.Diagnostics.UnreachableException : string * Exception -> System.Diagnostics.UnreachableException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The error message that explains the reason for the exception.
- innerException
- Exception
The exception that is the cause of the current exception.