9 references to GetException
System.Net.Security (9)
System\Net\Security\SslStream.IO.cs (5)
249Exception? exception = token.GetException(); 362throw new AuthenticationException(SR.net_auth_SSPI, token.GetException()); 412throw new AuthenticationException(SR.Format(SR.net_auth_tls_alert, _lastFrame.AlertDescription.ToString()), token.GetException()); 415if (token.Status.ErrorCode == SecurityStatusPalErrorCode.CertValidationFailed && token.GetException() is Exception certException) 423throw new AuthenticationException(SR.net_auth_SSPI, token.GetException());
System\Net\Security\SslStream.Protocol.cs (2)
816NetEventSource.Error(this, $"Authentication failed. Status: {wedged.Status}, Exception message: {wedged.GetException()!.Message}"); 826NetEventSource.Error(this, $"Authentication failed. Status: {token.Status}, Exception message: {token.GetException()!.Message}");
System\Net\Security\TlsSession.cs (2)
1098Exception authExc = new AuthenticationException(SR.net_auth_SSPI, token.GetException()); 1498throw new AuthenticationException(SR.net_auth_SSPI, token.GetException());