Share via


SiteIsFederatedException(String, String, Microsoft.SharePoint.Portal.Security.PortalRight, System.Exception) Constructor

The SiteIsFederatedException constructor initializes a new instance of the SiteIsFederatedException class with the specified error message, the name of the site, the rights needed to perform the attempted operation, and a reference to the inner exception that is the cause of this exception.

Parameters

Message   An error message that explains the reason for the exception, or an empty string.

SiteName   The name of the site that the user is trying to access.

Rights   One or more Microsoft.SharePoint.Portal.Security.PortalRight constants that represent the rights that are needed to perform the attempted operation.

inner   The exception that is the cause of this exception.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security