Uredi

SecurityNegotiationException Class

Definition

Indicates that an error occurred while negotiating the security context for a message.

public ref class SecurityNegotiationException : System::ServiceModel::CommunicationException
public class SecurityNegotiationException : System.ServiceModel.CommunicationException
type SecurityNegotiationException = class
    inherit CommunicationException
Public Class SecurityNegotiationException
Inherits CommunicationException
Inheritance
SecurityNegotiationException
Attributes

Remarks

This exception can happen in the following cases:

  • While negotiating the initial security context. The exact error depends on the negotiation technology used: either Simple and Protected GSS-API Negotiation (SPNEGO) or TLSNEGO. For more information, see Security Protocols.

  • While establishing a security session on top of an initial security context.

  • During key renewal for an existing security session.

Security negotiation errors can occur as part of the Spnego/Sslnego security protocol or as part of the SecureConversation protocol.

Constructors

Name Description
SecurityNegotiationException()

Initializes a new instance of the SecurityNegotiationException class.

SecurityNegotiationException(SerializationInfo, StreamingContext)

Initializes a new instance of the SecurityNegotiationException class with serialization information and streaming context specified.

SecurityNegotiationException(String, Exception)

Initializes a new instance of the SecurityNegotiationException class with serialization information and inner exception specified.

SecurityNegotiationException(String)

Initializes a new instance of the SecurityNegotiationException class with a specified error message.

Applies to