Microsoft.Data.SqlClient.SqlAuthenticationProviderException
This exception is thrown for any errors that occur during the
authentication process.
The failure code, or "Unknown" if not known.
The authentication method that failed, or NotSpecified if not known.
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.
True if the action should be retried, false otherwise.
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.
protected SqlAuthenticationProviderException(SqlAuthenticationMethod method, string failureCode, bool shouldRetry, int retryPeriod, string message, Exception causedBy = null)
Protected construction for derived classes to supply values for all
public properties.