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