Share via


AccessDeniedException.ToString Method

NOTE: This API is now obsolete.

Returns all the information about the access control list (ACL), including who is trying to access it and what it contains.

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 Overrides Function ToString As String
'Usage
Dim instance As AccessDeniedException
Dim returnValue As String

returnValue = instance.ToString()
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", 
    false)]
public override string ToString()

Return Value

Type: System.String
A string containing all the information about the ACL, ), including who is trying to access it and what it contains.

Implements

_Exception.ToString()

See Also

Reference

AccessDeniedException Class

AccessDeniedException Members

Microsoft.Office.Server.ApplicationRegistry.Infrastructure Namespace