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