NotifyPropertyChangedDispatcherObject.VerifyAccess Method
Enforces that the calling thread has access to this object.
Namespace: Microsoft.TeamFoundation.MVVM
Assembly: Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)
Syntax
'Declaration
Protected Sub VerifyAccess
protected void VerifyAccess()
protected:
void VerifyAccess()
member VerifyAccess : unit -> unit
protected function VerifyAccess()
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | The calling thread does not have access to this object. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.