Variable.Close Method

This method closes the variable and releases the resources.

Namespace:  IntervalZero.MaxRT.Libraries.VariableDatabase
Assembly:  IntervalZero.MaxRT.Libraries (in IntervalZero.MaxRT.Libraries.dll) Version: 1.0.0.0 (File version: 1.0.1)

Syntax

Copy
public void Close()

Return Value

Type: void

InvalidOperationException is thrown when the variable is not open.

MaxRTNativeException is thrown when this error occurs:

Error code Meaning

ERROR_ABANDONED_WAIT_0

Failed to acquire the synchronization lock.

See Also: