Partager via


TrustFault Class

The exception that is thrown when an error occurs while handling security token requests.

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

Usage

'Usage
Dim message As String
Dim code As XmlQualifiedName
Dim trustFault1 As New TrustFault(message, code)

Syntax

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

Remarks

WSE allows a Web service to issue security tokens that can be used to sign and/or encrypt SOAP messages sent to and from the Web service. A SOAP message sender makes a security token request to obtain a security token. A TrustFault is thrown when a security token request fails. For more details about issuing security tokens, see Issuing Security Tokens.

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

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

TrustFault Members
Microsoft.Web.Services3.Security Namespace