Library.Open Method

This method opens the variable database library for the current process.

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 Open()

Return Value

Type: void

InvalidOperationException is thrown when the library is already open.

MaxRTNativeException is thrown when these errors occur:

Error code Meaning

ERROR_NOT_ENOUGH_MEMORY

Failed to allocate memory.

ERROR_INVALID_HANDLE

Failed to open the synchronization lock.

ERROR_ABANDONED_WAIT_0

Failed to acquire the synchronization lock.

See Also: