System.Net.Security.NegoState.IsLogonDeniedException C# (CSharp) Méthode

IsLogonDeniedException() static private méthode

static private IsLogonDeniedException ( Exception exception ) : bool
exception Exception
Résultat bool
        internal static bool IsLogonDeniedException(Exception exception)
        {
            Win32Exception win32exception = exception as Win32Exception;

            return (win32exception != null) && (win32exception.NativeErrorCode == (int)SecurityStatusPalErrorCode.LogonDenied);
        }
    }