Click or drag to resize

SetupJVMWrapperUnwrapOnT Method

Creates and unwrap the JVM instance

Namespace: MASES.JCOBridge.C2JBridge
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.6.5.251117-542184cb2a0ea61cfe667a6bfacadf83c6adbe4d
Syntax
public T UnwrapOn<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 use to start the thread

Type Parameters

T
The class extending SetupJVMWrapper

Return Value

T
An instance of T
See Also