This documentation is archived and is not being maintained.

SPSite.CatchAccessDeniedException Property

Windows SharePoint Services 3

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Use the CatchAccessDeniedException property instead to specify whether Windows SharePoint Services traps and handles Access Denied exceptions.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public bool CatchAccessDeniedException { get; set; }

Property Value

Type: System.Boolean