SqlAuthenticationProviderException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This exception is thrown for any errors that occur during the authentication process.
public ref class SqlAuthenticationProviderException abstract : Exception
public abstract class SqlAuthenticationProviderException : Exception
type SqlAuthenticationProviderException = class
inherit Exception
Public MustInherit Class SqlAuthenticationProviderException
Inherits Exception
- Inheritance
-
SqlAuthenticationProviderException
Constructors
| Name | Description |
|---|---|
| SqlAuthenticationProviderException(SqlAuthenticationMethod, String, Boolean, Int32, String, Exception) |
Protected construction for derived classes to supply values for all public properties. |
| SqlAuthenticationProviderException(String, Exception) |
Protected construction for derived classes to supply a minimal set of values. Method will be NotSpecified. FailureCode will be "Unknown". ShouldRetry will be false. RetryPeriod will be 0. |
Properties
| Name | Description |
|---|---|
| FailureCode |
The failure code, or "Unknown" if not known. |
| Method |
The authentication method that failed, or NotSpecified if not known. |
| RetryPeriod |
The period of time, in milliseconds, to wait before retrying the action. 0 if no retry period is suggested. Never negative. Always 0 when ShouldRetry is false. |
| ShouldRetry |
True if the action should be retried, false otherwise. |
Methods
| Name | Description |
|---|---|
| ToString() | |