Share via


TrustFormatException Class

The exception that is thrown when a malformed security token request or security token request response is received.

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

Usage

'Usage
Dim message As String
Dim trustFormatException1 As New TrustFormatException(message)

Syntax

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

Remarks

A TrustFormatException is thrown when a security token request or a security token request response is received that does not conform to the WS-Trust specification.

For a list of initial property values for an instance of the TrustFormatException class, see the TrustFormatException constructor.

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

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

TrustFormatException Members
Microsoft.Web.Services3.Security Namespace