Share via


SecurityFault Class

The exception that is thrown when an error occurs while processing security tokens in a <Security> header.

Namespace: Microsoft.Web.Services2.Security
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

Usage

'Usage
Dim message As String
Dim code As XmlQualifiedName
Dim securityFault1 As New SecurityFault(message, code)

Syntax

'Declaration
Public Class SecurityFault
    Inherits SoapHeaderException
public class SecurityFault : SoapHeaderException
public ref class SecurityFault : public SoapHeaderException
public class SecurityFault extends SoapHeaderException
public class SecurityFault extends SoapHeaderException

Remarks

The SecurityFault class contains several constant fields for specifying the SOAP fault code and error message string when a SecurityFault exception is thrown.

Inheritance Hierarchy

System.Object
  System.Exception
    System.SystemException
      System.Web.Services.Protocols.SoapException
        System.Web.Services.Protocols.SoapHeaderException
          Microsoft.Web.Services2.Security.SecurityFault

Thread Safety

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

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone

See Also

Reference

Microsoft.Web.Services2.Security Namespace

Other Resources

SecurityFault Members