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 .NET Micro Framework version 2.0, 2.5

See Also

Reference

DispatcherObject Class
DispatcherObject Members
Microsoft.SPOT Namespace