NotifyPropertyChangedDispatcherObject.CheckAccessExecute<TResult> Method (Func<TResult>)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Executes the specified action on a thread associated with object's dispatcher.

Namespace:  Microsoft.TeamFoundation.MVVM
Assembly:  Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)

Syntax

'Declaration
Public Function CheckAccessExecute(Of TResult) ( _
    func As Func(Of TResult) _
) As TResult
public TResult CheckAccessExecute<TResult>(
    Func<TResult> func
)
public:
generic<typename TResult>
TResult CheckAccessExecute(
    Func<TResult>^ func
)
member CheckAccessExecute : 
        func:Func<'TResult> -> 'TResult 
JScript does not support generic types or methods.

Type Parameters

  • TResult

Parameters

  • func
    Type: System.Func<TResult>

    An action to execute.

Return Value

Type: TResult

.NET Framework Security

See Also

Reference

NotifyPropertyChangedDispatcherObject Class

CheckAccessExecute Overload

Microsoft.TeamFoundation.MVVM Namespace