Share via


TrustFault Class

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

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 trustFault1 As New TrustFault(message, code)

Syntax

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

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

TrustFault Members