Skip to main content Skip to complementary content

Error Constructor

Overloads

Error(Int32, String, String)

Initializes a new instance of the Error class with a specified error code, message and optional parameter.

Error(Int32, String, String)

Initializes a new instance of the Error class with a specified error code, message and optional parameter.

Declaration

      public Error(int errorCode = 0, string message = "", string parameter = "")
    

Parameters

Type Name Description
System.Int32 errorCode

The specified error code

System.String message

The optional error message

System.String parameter

The optional error parameter

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!