Share via


AccessDeniedException Constructor (String, Exception, IAccessControlList, Type, String)

NOTE: This API is now obsolete.

Namespace:  Microsoft.Office.Server.ApplicationRegistry.Infrastructure
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",  _
    False)> _
Public Sub New ( _
    message As String, _
    inner As Exception, _
    acl As IAccessControlList, _
    securableObjectType As Type, _
    securableObjectName As String _
)
'Usage
Dim message As String
Dim inner As Exception
Dim acl As IAccessControlList
Dim securableObjectType As Type
Dim securableObjectName As String

Dim instance As New AccessDeniedException(message, _
    inner, acl, securableObjectType, _
    securableObjectName)
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", 
    false)]
public AccessDeniedException(
    string message,
    Exception inner,
    IAccessControlList acl,
    Type securableObjectType,
    string securableObjectName
)

Parameters

See Also

Reference

AccessDeniedException Class

AccessDeniedException Members

AccessDeniedException Overload

Microsoft.Office.Server.ApplicationRegistry.Infrastructure Namespace