ISyncInvokerInvokeT(FuncT) Method |
Invokes a delegate that returns a value on the script engine's thread.
Namespace: Microsoft.ClearScript.Windows.CoreAssembly: ClearScript.Windows.Core (in ClearScript.Windows.Core.dll) Version: 7.4.5
Syntax T Invoke<T>(
Func<T> func
)
Function Invoke(Of T) (
func As Func(Of T)
) As T
generic<typename T>
T Invoke(
Func<T>^ func
)
abstract Invoke :
func : Func<'T> -> 'T
Parameters
- func FuncT
- The delegate to invoke on the script engine's thread.
Type Parameters
- T
- The delegate's return value type.
Return Value
TThe delegate's return value.
See Also