Interop Class

This class provides interoperability methods for managing unmanaged objects and error checking.
Inheritance Hierarchy
SystemObject
  Teigha.RuntimeInterop

Namespace: Teigha.Runtime
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 27.3.0.0
Syntax
public static class Interop

The Interop type exposes the following members.

Methods
  Name Description
Public methodStatic member AttachUnmanagedObject Attaches an unmanaged object to a disposable wrapper.
Public methodStatic member Check Checks a return value and throws an exception if it indicates an error.
Public methodStatic member CheckAds Checks an ADS return value and throws an exception if it indicates an error.
Public methodStatic member CheckAdsForCancel Checks an ADS return value for cancellation.
Public methodStatic member CheckBool Checks a boolean return value and throws an exception if it is false.
Public methodStatic member CheckBoolean Checks a boolean integer return value and throws an exception if it indicates false.
Public methodStatic member CheckCPPErrName Checks a C++ error return value and throws an exception if it indicates an error.
Public methodStatic member CheckNull Checks if a pointer is null and throws an exception if it is.
Public methodStatic member DetachUnmanagedObject Detaches an unmanaged object from a disposable wrapper.
Public methodStatic member SetAutoDelete Sets the auto-delete flag for a disposable wrapper.
Public methodStatic member ThrowExceptionForErrorStatus Throws an exception corresponding to the specified error status.
Top
See Also