CLRInterop Class

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

All of the methods are static, so no instantiation of the class is needed.


class CLRInterop extends Object

Called

Method

Description

cancelTimeOut

Cancels a previous method call to the Object.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

Overridden. Creates an instance of the CLRInterop class.

notify

Releases the hold on an object that has called a wait method on this object. (Inherited from Object.)

notifyAll

Releases a lock on the object that was issued by a 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 (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 common language runtime (CLR) exception.

::getObjectForAnyType

Converts a value of the X++ anytype data type to a value of the CLRObject data type.

::isInitialized

Determines whether a value has been assigned to the specified CLRObject instance.

::isNull

Confirms whether the specified CLRObject instance is set to null.

::Null

Returns a common language runtime (CLR) data type with a value of null.

::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 common language runtime (CLR) data type.

Community Additions

ADD
Show: