NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Protected Member Functions | Properties | List of all members
NXOpen.ErrorInfo Class Reference

Contains information about an error that occurred More...

Inheritance diagram for NXOpen.ErrorInfo:
NXOpen.TransientObject NXOpen.Utilities.NXRemotableObject IDisposable IMessageSink

Protected Member Functions

override void FreeResource ()
 Frees this object from memory. More...
 

Properties

unsafe string Description [get]
 Returns a description of the error More...
 
unsafe int ErrorCode [get]
 Returns a number that represents what error occurred More...
 
unsafe NXOpen.NXObject ErrorObject [get]
 Returns the object for which the error occurred. More...
 
unsafe string ErrorObjectDescription [get]
 Returns a description of the object for which the error occurred More...
 
- Properties inherited from NXOpen.TransientObject
IntPtr Handle [get]
 Handle of the internal object represented by this object. More...
 
- Properties inherited from NXOpen.Utilities.NXRemotableObject
IMessageSink NextSink [get]
 Gets the next message sink in the sink chain. More...
 

Additional Inherited Members

- Public Member Functions inherited from NXOpen.TransientObject
void Dispose ()
 Frees the object from memory. More...
 
void PrintTestData (String variableName)
 <exclude> More...
 
void PrintTestData (String variableName, int lineNumber)
 <exclude> More...
 
new string ToString ()
 Returns a String that represents the current Object. More...
 

Detailed Description

Contains information about an error that occurred

Created in NX3.0.0

Member Function Documentation

override void NXOpen.ErrorInfo.FreeResource ( )
inlineprotectedvirtual

Frees this object from memory.

After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.

Created in NX3.0.0

License requirements: None.

Implements NXOpen.TransientObject.

Property Documentation

unsafe string NXOpen.ErrorInfo.Description
get

Returns a description of the error

Created in NX3.0.0

License requirements: None.

unsafe int NXOpen.ErrorInfo.ErrorCode
get

Returns a number that represents what error occurred

Created in NX3.0.0

License requirements: None.

unsafe NXOpen.NXObject NXOpen.ErrorInfo.ErrorObject
get

Returns the object for which the error occurred.

This may be a null reference (Nothing in Visual Basic) if the object was deleted.

Note: if the object was deleted, ErrorObjectDescription may be used to obtain a description of the object.

Created in NX3.0.0

License requirements: None.

unsafe string NXOpen.ErrorInfo.ErrorObjectDescription
get

Returns a description of the object for which the error occurred

Created in NX3.0.0

License requirements: None.


The documentation for this class was generated from the following file:
Copyright 2019 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.