Share via


Dispatcher.CheckAccess Method

Definition

Returns a value that determines whether using the dispatcher to invoke a work item is required from the current context.

public:
 abstract bool CheckAccess();
public abstract bool CheckAccess ();
abstract member CheckAccess : unit -> bool
Public MustOverride Function CheckAccess () As Boolean

Returns

true if invoking is required, otherwise false.

Applies to