Condividi tramite


AuthenticationException Members

Include Protected Members
Include Inherited Members

Specifies the error that is thrown when the Business Data Connectivity (BDC) service encounters an authentication problem with the external system, such as rejected or expired credentials.

The AuthenticationException type exposes the following members.

Constructors

  Name Description
Public method AuthenticationException() Initializes a new instance of the class.
Public method AuthenticationException(String) Initializes a new instance of the class with a specified error message.
Protected method AuthenticationException(SerializationInfo, StreamingContext) Initializes a new instance of the class with serialized data.
Public method AuthenticationException(String, Exception) Initializes a new instance of the class with a specified error message and a reference to the inner exception that caused this exception.
Public method AuthenticationException(String, Exception, Uri) Initializes a new instance of the class with a specified error message, a reference to the inner exception that caused this exception, and the URL that contains the credentials.

Top

Properties

  Name Description
Public property CredentialEntryUrl Gets the credential entry URI.
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 the exception message. (Inherited from BdcException.)
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. (Inherited from BdcException.)
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.
Provides the state of the exception. (Inherited from BdcException.)
Protected method Finalize (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Serializes the exception object into the specified serialization information object. (Overrides BdcException.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Converts this exception to a string. (Inherited from CannotConnectException.)

Top

See Also

Reference

AuthenticationException Class

Microsoft.BusinessData.Runtime Namespace