Xceed Toolkit Plus for WPF v4.6 Documentation
InvokeAsync<T>(Dispatcher,Func<T>) Method


Xceed.Wpf.Themes.MaterialDesign Assembly > Xceed.Wpf.Themes.MaterialDesign Namespace > DotNet4Extensions Class > InvokeAsync Method : InvokeAsync<T>(Dispatcher,Func<T>) Method
Syntax
'Declaration
 
<ExtensionAttribute()>
Public Overloads Shared Function InvokeAsync(Of T)( _
   ByVal dispatcher As Dispatcher, _
   ByVal d As Func(Of T) _
) As Task(Of T)
'Usage
 
Dim dispatcher As Dispatcher
Dim d As Func(Of T)
Dim value As Task(Of T)
 
value = DotNet4Extensions.InvokeAsync(Of T)(dispatcher, d)
[Extension()]
public static Task<T> InvokeAsync<T>( 
   Dispatcher dispatcher,
   Func<T> d
)

Parameters

dispatcher
d

Type Parameters

T
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DotNet4Extensions Class
DotNet4Extensions Members
Overload List