Aracılığıyla paylaş


SafeDispatcher.InvokeAsync<TResult> Method (Func<TResult>, Boolean)

 

Namespace:   Microsoft.Crm.UnifiedServiceDesk.Dynamics.Utilities
Assembly:  Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)

Syntax

public DispatcherOperation<TResult> InvokeAsync<TResult>(
    Func<TResult> callback,
    bool runOnMainUiThread = true
)
Public Function InvokeAsync(Of TResult) (
    callback As Func(Of TResult),
    runOnMainUiThread As Boolean
) As DispatcherOperation(Of TResult)

Parameters

Return Value

Type: System.Windows.Threading.DispatcherOperation<TResult>

Type Parameters

  • TResult

See Also

InvokeAsync Overload
SafeDispatcher Class
Microsoft.Crm.UnifiedServiceDesk.Dynamics.Utilities Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright