Click or drag to resize

SetupJVMWrapperUnwrapAndDemonizeOnT Method

Creates and unwrap the JVM instance as daemon

Namespace: MASES.JCOBridge.C2JBridge
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.6.9.260611-9a148513a79c26cdd7f1dde468f4f9e06ef3bc7e
Syntax
public T UnwrapAndDemonizeOn<T>(
	ParameterizedThreadStart handler,
	Object arg = null,
	ApartmentState apartment = ApartmentState.STA
)
where T : SetupJVMWrapper

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

Type Parameters

T
The class extending SetupJVMWrapper

Return Value

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