Click or drag to resize

ErrorCodeException Class

Exception class holding the Strix error code.
Inheritance Hierarchy
SystemObject
  SystemException
    SoftGear.Strix.Unity.Runtime.ErrorErrorCodeException

Namespace:  SoftGear.Strix.Unity.Runtime.Error
Assembly:  StrixUnityRuntime (in StrixUnityRuntime.dll) Version: 1.5.0
Syntax
C#
public class ErrorCodeException : Exception

The ErrorCodeException type exposes the following members.

Constructors
  NameDescription
Public methodErrorCodeException(Int32)
Initializes a new instance of the ErrorCodeException class
Public methodErrorCodeException(Int32, String)
Initializes a new instance of the ErrorCodeException class
Protected methodErrorCodeException(SerializationInfo, StreamingContext)
Initializes a new instance of the ErrorCodeException class
Public methodErrorCodeException(Int32, String, Exception)
Initializes a new instance of the ErrorCodeException class
Top
Properties
  NameDescription
Public propertyerrorCode
Error code
Public propertyMessage
Error code combined with the error name in string format.
(Overrides ExceptionMessage.)
Top
Remarks
To get a name and a description from the error code, you can use GetErrorCodeName(Int32) and GetErrorDescription(Int32) respectively. Alternatively, you can use Message to get the code and the error name in string format.
See Also