4 references to GetException
System.Net.Security (4)
System\Net\Security\SslStream.IO.cs (3)
317throw new AuthenticationException(SR.net_auth_SSPI, token.GetException()); 367throw new AuthenticationException(SR.Format(SR.net_auth_tls_alert, _lastFrame.AlertDescription.ToString()), token.GetException()); 370throw new AuthenticationException(SR.net_auth_SSPI, token.GetException());
System\Net\Security\SslStream.Protocol.cs (1)
824NetEventSource.Error(this, $"Authentication failed. Status: {token.Status}, Exception message: {token.GetException()!.Message}");