共用方式為


AccessDeniedException Members

Include Protected Members
Include Inherited Members

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

The AccessDeniedException type exposes the following members.

Constructors

  Name Description
Public method AccessDeniedException() Constructs a new instance of the class.
Public method AccessDeniedException(String) Constructs a new instance of the class with a message string.
Public method AccessDeniedException(String, Exception) Constructs a new instance of the class by using a message and the inner exception.
Public method AccessDeniedException(Type, String, IExceptionHelper)
Public method AccessDeniedException(String, Type, String, IExceptionHelper)
Public method AccessDeniedException(String, Exception, Type, String, IExceptionHelper)

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property ExceptionHelper Gets the exception helper that assists with localization. (Inherited from BdcException.)
Public property HasExplicitMessage Determines whether the exception has an explicit message that identifies the encountered problem instead of the generic message that corresponds to the type of the exception. (Inherited from BdcException.)
Public property HelpLink (Inherited from Exception.)
Protected property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property IsRetriable Determines whether it is safe to retry the operation that caused the exception. (Inherited from BdcException.)
Public property Message Gets a generic access-denied error message. (Overrides BdcException.Message.)
Public property SecurableObjectType Gets the type of the object to which access was denied.
Public property ServerStackTrace Gets a server stack trace. (Inherited from BdcException.)
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property State Gets the state of the Business Data Connectivity (BDC) service exception. (Overrides BdcException.State.)
Public property TargetSite (Inherited from Exception.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method FillState This member is reserved for internal use and is not intended to be used directly from your code. (Overrides BdcException.FillState(BdcExceptionState).)
Protected method Finalize (Inherited from Object.)
Public methodStatic member FormatError Returns a non-localized string that contains information for logging.
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Retrieves the object data. (Overrides BdcException.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Converts the exception object to a string. (Overrides BdcException.ToString().)

Top

See Also

Reference

AccessDeniedException Class

Microsoft.BusinessData.Infrastructure Namespace