| SetupJVMWrapperUnwrapOnT Method |
Creates and unwrap the JVM instance
Namespace: MASES.JCOBridge.C2JBridgeAssembly: C2JBridge (in C2JBridge.dll) Version: 2.5.17.240622-f0da58d62b7e98f73f32432917df8eb1a5f062a3
Syntax public T UnwrapOn<T>(
ParameterizedThreadStart handler,
Object arg = null,
ApartmentState apartment = ApartmentState.STA
)
where T : SetupJVMWrapper
Public Function UnwrapOn(Of T As SetupJVMWrapper) (
handler As ParameterizedThreadStart,
Optional arg As Object = Nothing,
Optional apartment As ApartmentState = ApartmentState.STA
) As T
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
TAn instance of
TSee Also