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