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
acl
Type: Microsoft.BusinessData.Infrastructure.IAccessControlListThe permissions present on the object.
securableObjectType
Type: System.Reflection.MemberInfoThe type of the object for which the request was denied.
securableObjectName
Type: System.StringName of the object for which the request was denied.
Return Value
Type: System.String
A non-localized string that contains information for logging.