SecurityNegotiationException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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. |