AccessDeniedException.FormatError Method

Returns a non-localized string that contains information for logging.

Namespace:  Microsoft.BusinessData.Infrastructure
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)

Syntax

'Declaration
Public Shared Function FormatError ( _
    acl As IAccessControlList, _
    securableObjectType As MemberInfo, _
    securableObjectName As String _
) As String
'Usage
Dim acl As IAccessControlList
Dim securableObjectType As MemberInfo
Dim securableObjectName As String
Dim returnValue As String

returnValue = AccessDeniedException.FormatError(acl, _
    securableObjectType, securableObjectName)
public static string FormatError(
    IAccessControlList acl,
    MemberInfo securableObjectType,
    string securableObjectName
)

Parameters

  • securableObjectName
    Type: System.String

    Name of the object for which the request was denied.

Return Value

Type: System.String
A non-localized string that contains information for logging.

See Also

Reference

AccessDeniedException Class

AccessDeniedException Members

Microsoft.BusinessData.Infrastructure Namespace