Share via


DispatcherObject.VerifyAccess Method

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

[ConditionalAttribute]
public void VerifyAccess ()

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.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

DispatcherObject Class
DispatcherObject Members
Microsoft.SPOT Namespace