Class NXException
Inheritance
System.Object
System.Exception
System.ApplicationException
NXException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.InternalToString()
System.Exception.GetType()
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: NXOpen
Assembly: NXOpen.Utilities.dll
Syntax
public class NXException : ApplicationException, ISerializable, _Exception
Properties
ErrorCode
Declaration
public int ErrorCode { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Message
Declaration
public override string Message { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
System.Exception.Message
UndoMark
Declaration
public int UndoMark { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
AssertErrorCode(Int32)
Declaration
public void AssertErrorCode(int status)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | status |
Create(Int32)
Declaration
public static NXException Create(int status)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | status |
Returns
Type | Description |
---|---|
NXException |
CreateWithoutUndoMark(Int32)
Declaration
public static NXException CreateWithoutUndoMark(int status)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | status |
Returns
Type | Description |
---|---|
NXException |
GetObjectData(SerializationInfo, StreamingContext)
Declaration
public override void GetObjectData(SerializationInfo si, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | si | |
System.Runtime.Serialization.StreamingContext | context |
Overrides
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
ThrowUnexpectedSuccess()
Declaration
public static void ThrowUnexpectedSuccess()
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception