8 references to GetException
System.Net.Security (8)
System\Net\Security\SslStream.IO.cs (4)
350
throw new AuthenticationException(SR.net_auth_SSPI, token.
GetException
());
400
throw new AuthenticationException(SR.Format(SR.net_auth_tls_alert, _lastFrame.AlertDescription.ToString()), token.
GetException
());
403
if (token.Status.ErrorCode == SecurityStatusPalErrorCode.CertValidationFailed && token.
GetException
() is Exception certException)
411
throw new AuthenticationException(SR.net_auth_SSPI, token.
GetException
());
System\Net\Security\SslStream.Protocol.cs (2)
803
NetEventSource.Error(this, $"Authentication failed. Status: {wedged.Status}, Exception message: {wedged.
GetException
()!.Message}");
813
NetEventSource.Error(this, $"Authentication failed. Status: {token.Status}, Exception message: {token.
GetException
()!.Message}");
System\Net\Security\TlsSession.cs (2)
1090
Exception authExc = new AuthenticationException(SR.net_auth_SSPI, token.
GetException
());
1486
throw new AuthenticationException(SR.net_auth_SSPI, token.
GetException
());