Export (0) Print
Expand All

SecurityNegotiationException Class

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

Namespace: System.ServiceModel.Security
Assembly: System.ServiceModel (in system.servicemodel.dll)

[SerializableAttribute] 
public class SecurityNegotiationException : CommunicationException
/** @attribute SerializableAttribute() */ 
public class SecurityNegotiationException extends CommunicationException
SerializableAttribute 
public class SecurityNegotiationException extends CommunicationException
Not applicable.

This exception can happen in three cases:

  1. While negotiating the initial security context. The exact error depends on the negotiation technology used: either SP or TL.

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

  3. 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.

System.Object
   System.Exception
     System.SystemException
       System.ServiceModel.CommunicationException
        System.ServiceModel.Security.SecurityNegotiationException

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft