Utility method that, when called, throws a NotSupportedException indicating that the PageReference has been set as read-only.

Namespace:  EPiServer.Core
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
protected void ThrowIfReadOnly()

Remarks

This method is used internally by other PageReference methods to standardize the exception thrown when trying to modify a PageReference set as read-only.

See Also