Click or drag to resize

SetupJVMWrapperTUnwrapAndDemonizeOn Method

Creates and unwrap the JVM instance as daemon

Namespace: MASES.JCOBridge.C2JBridge
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.5.12.240512-4d4b2fafd3df13602ccdeccef07b026ccf8b47b0
Syntax
public T UnwrapAndDemonizeOn(
	ParameterizedThreadStart handler,
	Object arg = null,
	ApartmentState apartment = ApartmentState.STA
)

Parameters

handler  ParameterizedThreadStart
An handler to the function to be invoked
arg  Object  (Optional)
The argument for handler. Default is null.
apartment  ApartmentState  (Optional)
The ApartmentState to be used when the thread is started

Return Value

T
An instance of T
Remarks
apartment is valid only on Windows
See Also