See Also: AuthenticationException Members
The System.Net.Security.NegotiateStream and System.Net.Security.SslStream classes throw this exception when the client or server cannot be authenticated. When this exception is thrown, you can retry the authentication with different credentials. If you cannot retry the authentication, a System.Net.FatalAuthenticationException is thrown instead of the System.Security.Authentication.AuthenticationException.