ISyncInvokerInvokeT Method (FuncT) |
Invokes a delegate that returns a value on the script engine's thread.
Namespace:
Microsoft.ClearScript.Windows.Core
Assembly:
ClearScript.Windows.Core (in ClearScript.Windows.Core.dll) Version: 7.2.5
SyntaxT 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
- Type: SystemFuncT
The delegate to invoke on the script engine's thread.
Type Parameters
- T
- The delegate's return value type.
Return Value
Type:
TThe delegate's return value.
See Also