Open sandboxFocus

Method Initialize

Initialize()

Initializes the garbage collector synchronously. This method must be called before the garbage collector can process eviction notifications or perform cleanup operations.

Declaration
public void Initialize()
Exceptions
Type Condition
InvalidOperationException

The garbage collector does not own its backend and the backend has not been initialized.