FreezableObject class
Represents an abstract base class that provides a simplified version of the Freeze functionality that is defined in the Freezable class.
Inheritance hierarchy
System.Object
Microsoft.SharePoint.Publishing.FreezableObject
Microsoft.SharePoint.Publishing.Navigation.NavigationTermSetView
Microsoft.SharePoint.Publishing.Navigation.WebNavigationSettings
Namespace: Microsoft.SharePoint.Publishing
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public MustInherit Class FreezableObject
'Usage
Dim instance As FreezableObject
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public abstract class FreezableObject
Remarks
Freezing an object puts the object into an irreversible read-only state that facilitates performance optimizations and sharing across threads.
An example use of this class is in the taxonomy navigation cache, which freezes its objects so that the cached instances can be returned without a copy. Freezing guarantees that the caller cannot modify the cached object.
Thread safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See also
Reference
Microsoft.SharePoint.Publishing namespace
Microsoft.SharePoint.Publishing.Navigation.TaxonomyNavigation