共用方式為


AuthenticationException Class

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.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.BusinessData.Infrastructure.BdcException
      Microsoft.BusinessData.Runtime.RuntimeException
        Microsoft.BusinessData.Runtime.CannotConnectException
          Microsoft.BusinessData.Runtime.AuthenticationException
            Microsoft.BusinessData.Runtime.SsoAuthenticationException

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

Syntax

'Declaration
<SerializableAttribute> _
<DataContractAttribute> _
Public Class AuthenticationException _
    Inherits CannotConnectException
'Usage
Dim instance As AuthenticationException
[SerializableAttribute]
[DataContractAttribute]
public class AuthenticationException : CannotConnectException

Thread Safety

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

See Also

Reference

AuthenticationException Members

Microsoft.BusinessData.Runtime Namespace