VerifyAccess Method

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

Determines whether the calling thread has access to the current DispatcherObject object.

Namespace:  Microsoft.SPOT
Assembly:  Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)

Syntax

'Declaration
Public Sub VerifyAccess
public void VerifyAccess()
public:
void VerifyAccess()
member VerifyAccess : unit -> unit 
public function VerifyAccess()

Exceptions

Exception Condition
InvalidOperationException

The calling thread does not have access to the current DispatcherObject.

Remarks

The difference between the CheckAccess and VerifyAccess methods is that CheckAccess returns false if the calling thread does not have access to the current DispatcherObject object, whereras VerifyAccess throws an exception.

.NET Framework Security

See Also

Reference

DispatcherObject Class

Microsoft.SPOT Namespace