다음을 통해 공유


SecurityFault Class

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

Namespace: Microsoft.Web.Services3.Security
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim message As String
Dim securityFault1 As New SecurityFault(message)

Syntax

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

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.Services3.WseSoapHeaderException
            Microsoft.Web.Services3.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 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

SecurityFault Members
Microsoft.Web.Services3.Security Namespace