Dispatcher.CheckAccess Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.