PostSharpAPI ReferencePost­Sharp.​Patterns.​ThreadingActor­DispatcherCheck­Access
Open sandboxFocus

ActorDispatcher.CheckAccess Method

CheckAccess()

Determines whether the current thread has access to the current dispatcher.

Declaration
public bool CheckAccess()
Returns
Type Description
Boolean

true if the current thread can directly call methods of objects protected by the current dispatcher, or false if methods Invoke(SendOrPostCallback, Object) or BeginInvoke(SendOrPostCallback, Object) must be used.

Implements
IDispatcher.CheckAccess()