Assembly: WindowsBase (in WindowsBase.dll)
Classes that derive from Freezable should call the method before they attempt to access any members that are not dependency properties. The WritePreamble method should be called before any such members are written to.
This method effectively does nothing more than call VerifyAccess.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2