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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.