SecurityFormatException Constructor (String, Exception)

Initializes a new instance of the SecurityFormatException class with a specified error message.

Namespace: Microsoft.Web.Services2.Security
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

Usage

'Usage
Dim message As String
Dim ex As Exception
Dim securityFormatException1 As New SecurityFormatException(message, ex)

Syntax

'Declaration
Public Sub New( _
    ByVal message As String, _
    ByVal ex As Exception _
)
public SecurityFormatException(
    string message, 
    Exception ex
);
public: SecurityFormatException(
    String^ message, 
    Exception^ ex
);
public SecurityFormatException(
    System.String message, 
    Exception ex
);
public function SecurityFormatException(
     message : String, 
     ex : Exception
);

Parameters

  • message
    The message that describes the error.
  • ex
    A reference to the root cause of the error.

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

SecurityFormatException Class
Microsoft.Web.Services2.Security Namespace

Other Resources

SecurityFormatException Members