Microsoft.Azure.ServiceManagemenet.Common.ProfileClient.WriteOrThrowAadExceptionMessage C# (CSharp) Method

WriteOrThrowAadExceptionMessage() private method

private WriteOrThrowAadExceptionMessage ( AadAuthenticationException aadEx ) : void
aadEx Microsoft.Azure.Commands.Common.Authentication.AadAuthenticationException
return void
        private void WriteOrThrowAadExceptionMessage(AadAuthenticationException aadEx)
        {
            if (aadEx is AadAuthenticationFailedWithoutPopupException)
            {
                WriteDebugMessage(aadEx.Message);
            }
            else if (aadEx is AadAuthenticationCanceledException)
            {
                WriteWarningMessage(aadEx.Message);
            }
            else
            {
                throw aadEx;
            }
        }

Same methods

ProfileClient::WriteOrThrowAadExceptionMessage ( CloudException aadEx ) : void