Share via


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

See Also

Reference

NotifyPropertyChangedDispatcherObject Class

Microsoft.TeamFoundation.MVVM Namespace