Edit

Share via


RuntimeException Class

Definition

Class that represents an exception that occurs in the Xamarin runtime.

public class RuntimeException : Exception
type RuntimeException = class
    inherit Exception
Inheritance
RuntimeException

Constructors

RuntimeException(Int32, Boolean, Exception, String, Object[])

Initializes a new RuntimeException with the specified error code, inner exception, error message, and optionally specifying any format arguments to format the error message.

RuntimeException(Int32, Boolean, String, Object[])

Initializes a new RuntimeException with the specified error code, error message, and optionally specifying any format arguments to format the error message.

RuntimeException(Int32, String, Object[])

Initializes a new RuntimeException with the specified error code, error message, and optionally specifying any format arguments to format the error message.

RuntimeException(String, Object[])

Initializes a new RuntimeException with the specified error message, optionally specifying any format arguments to format the error message.

Properties

Code

The error code for the condition that triggered the exception.

Error

If this exception represents an error or a warning.

Applies to