MappingsFileBasePage class
NOTE: This API is now obsolete.
Provides the code-behind for the mappings file.
Inheritance hierarchy
System.Object
System.Web.UI.Control
System.Web.UI.TemplateControl
System.Web.UI.Page
MappingsFileBasePage
Microsoft.SharePoint.Publishing.MappingsFileBasePage
Namespace: Microsoft.SharePoint.Publishing
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
<ObsoleteAttribute("The Microsoft.SharePoint.Publishing.MappingsFileBasePage class has been deprecated and should not be used.")> _
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public Class MappingsFileBasePage _
Inherits MappingsFileBasePage
'Usage
Dim instance As MappingsFileBasePage
[ObsoleteAttribute("The Microsoft.SharePoint.Publishing.MappingsFileBasePage class has been deprecated and should not be used.")]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public class MappingsFileBasePage : MappingsFileBasePage
Remarks
Because of the nature of the library (Master Page Gallery) in which the mappings file lives, every user who has access to the site can navigate to the mappings file page and see its content. This is true even for anonymous users once anonymous access is granted. The class is used to prevent the rendition of the mappings file if it is directly requested.
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.