Share via


SafeDispatcher.Invoke<TResult> Method (Func<TResult>, DispatcherPriority, CancellationToken, Boolean, Boolean)

 

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

Syntax

public TResult Invoke<TResult>(
    Func<TResult> callback,
    DispatcherPriority dispatcherPriority,
    CancellationToken cancellationToken,
    bool runOnMainUiThread = true,
    bool safeMode = true
)
Public Function Invoke(Of TResult) (
    callback As Func(Of TResult),
    dispatcherPriority As DispatcherPriority,
    cancellationToken As CancellationToken,
    runOnMainUiThread As Boolean,
    safeMode As Boolean
) As TResult

Parameters

Return Value

Type: TResult

Type Parameters

  • TResult

See Also

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

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright