System.Net.Security.NegoState.IsLogonDeniedException C# (CSharp) 메소드

IsLogonDeniedException() 정적인 개인적인 메소드

static private IsLogonDeniedException ( Exception exception ) : bool
exception Exception
리턴 bool
        internal static bool IsLogonDeniedException(Exception exception)
        {
            Win32Exception win32exception = exception as Win32Exception;

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