Use this overload in cases where you need to specify advanced behavior.
[Visual Basic] Overloads Public Shared Function CreateDelegate( _ ByVal delegateType As Type, _ ByVal mFunc As String, _ ByVal ml As IKernelLink, _ ByVal callsUnshare As Boolean, _ ByVal wrapInNETBlock As Boolean _ ) As Delegate
Whether the Mathematica function calls UnshareKernel or UnshareFrontEnd.
wrapInNETBlock
Whether to automatically wrap the call to Mathematica in NETBlock.
Return Value
The delegate object.
Remarks
Set callsUnhsare to true if your Mathematica function calls UnshareKernel or UnshareFrontEnd. Set wrapInNETBlock to false if you do not want the call to be automatically wrapped in NETBlock.