Search Results for

    Show / Hide Table of Contents

    Class NXException

    Inheritance
    object
    Exception
    ApplicationException
    NXException
    Implements
    ISerializable
    Inherited Members
    Exception.GetBaseException()
    Exception.ToString()
    Exception.GetType()
    Exception.TargetSite
    Exception.Data
    Exception.InnerException
    Exception.HelpLink
    Exception.Source
    Exception.HResult
    Exception.StackTrace
    Exception.SerializeObjectState
    object.MemberwiseClone()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: NXOpen
    Assembly: NXOpen.Utilities.dll
    Syntax
    public class NXException : ApplicationException, ISerializable

    Properties

    ErrorCode

    Declaration
    public int ErrorCode { get; }
    Property Value
    Type Description
    int

    Message

    Declaration
    public override string Message { get; }
    Property Value
    Type Description
    string
    Overrides
    Exception.Message

    UndoMark

    Declaration
    public int UndoMark { get; }
    Property Value
    Type Description
    int

    Methods

    AssertErrorCode(int)

    Declaration
    public void AssertErrorCode(int status)
    Parameters
    Type Name Description
    int status

    Create(int)

    Declaration
    public static NXException Create(int status)
    Parameters
    Type Name Description
    int status
    Returns
    Type Description
    NXException

    Create(int, string)

    Declaration
    public static NXException Create(int status, string message)
    Parameters
    Type Name Description
    int status
    string message
    Returns
    Type Description
    NXException

    Create(string)

    Declaration
    public static NXException Create(string message)
    Parameters
    Type Name Description
    string message
    Returns
    Type Description
    NXException

    CreateWithoutUndoMark(int)

    Declaration
    public static NXException CreateWithoutUndoMark(int status)
    Parameters
    Type Name Description
    int status
    Returns
    Type Description
    NXException

    GetObjectData(SerializationInfo, StreamingContext)

    Declaration
    public override void GetObjectData(SerializationInfo si, StreamingContext context)
    Parameters
    Type Name Description
    SerializationInfo si
    StreamingContext context
    Overrides
    Exception.GetObjectData(SerializationInfo, StreamingContext)

    ThrowUnexpectedSuccess()

    Declaration
    public static void ThrowUnexpectedSuccess()

    Implements

    ISerializable
    In this article
    Back to top Generated by DocFX