AccessDeniedException Class

Specifies the exception that is thrown when the Business Data Connectivity (BDC) service authorization subsystem detects an access attempt that is not valid.


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

public sealed class AccessDeniedException : BdcException

This exception is thrown in certain scenarios, for example, when a user or a service account attempts to perform an action that the user does not have permissions to do, such as access an external content type, execute a method, or delete an application.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.