TrustFormatException Class
The exception that is thrown when a malformed security token request or security token request response is received.
Namespace: Microsoft.Web.Services2.Security
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)
Usage
'Usage
Dim message As String
Dim trustFormatException1 As New TrustFormatException(message)
Syntax
'Declaration
Public Class TrustFormatException
Inherits SoapHeaderException
public class TrustFormatException : SoapHeaderException
public ref class TrustFormatException : public SoapHeaderException
public class TrustFormatException extends SoapHeaderException
public class TrustFormatException extends SoapHeaderException
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 Microsoft.Web.Services2.Security.TrustFormatException.#ctor constructor.
Inheritance Hierarchy
System.Object
System.Exception
System.SystemException
System.Web.Services.Protocols.SoapException
System.Web.Services.Protocols.SoapHeaderException
Microsoft.Web.Services2.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 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