Share via


CLRInterop Class

The ClrInterop class is a utility class that provides functionality for type marshaling and exception handling.

Because all the methods are static, no instantiation of the class is required.

Syntax

class CLRInterop extends Object

Run On

Called

Methods

  Method Description
Gg803050.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg803050.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg803050.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg803050.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg803050.pubmethod(en-us,AX.60).gif new Initializes a new instance of the CLRInterop class. (Overrides the new Method.)
Gg803050.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg803050.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg803050.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg803050.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg803050.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg803050.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg803050.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg803050.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg803050.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg803050.pubmethod(en-us,AX.60).gif Gg803050.static(en-us,AX.60).gif ::getAnyTypeForObject Converts a common language runtime (CLR) object to a value of the X++ anytype data type.
Gg803050.pubmethod(en-us,AX.60).gif Gg803050.static(en-us,AX.60).gif ::getLastException Retrieves the most recent CLR exception.
Gg803050.pubmethod(en-us,AX.60).gif Gg803050.static(en-us,AX.60).gif ::getObjectForAnyType Converts a value of the X++ anytype data type to a value of the CLRObject data type.
Gg803050.pubmethod(en-us,AX.60).gif Gg803050.static(en-us,AX.60).gif ::getType
Gg803050.pubmethod(en-us,AX.60).gif Gg803050.static(en-us,AX.60).gif ::isInitialized Determines whether a value has been assigned to the specified CLRObject instance.
Gg803050.pubmethod(en-us,AX.60).gif Gg803050.static(en-us,AX.60).gif ::isNull Confirms whether the specified CLRObject instance is set to nullNothingnullptrunita null reference (Nothing in Visual Basic).
Gg803050.pubmethod(en-us,AX.60).gif Gg803050.static(en-us,AX.60).gif ::loadAssembly
Gg803050.privmethod(en-us,AX.60).gif Gg803050.static(en-us,AX.60).gif ::loadAssemblyDictionary
Gg803050.privmethod(en-us,AX.60).gif Gg803050.static(en-us,AX.60).gif ::loadAssemblyDictionaryThread
Gg803050.pubmethod(en-us,AX.60).gif Gg803050.static(en-us,AX.60).gif ::Null Returns a CLR data type that has a value of nullNothingnullptrunita null reference (Nothing in Visual Basic).
Gg803050.pubmethod(en-us,AX.60).gif Gg803050.static(en-us,AX.60).gif ::parseClrEnum Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent CLRObject instance.
Gg803050.pubmethod(en-us,AX.60).gif Gg803050.static(en-us,AX.60).gif ::staticInvoke Calls a static method on a CLR data type.

Top

Inheritance Hierarchy

Object Class
  CLRInterop Class