Compartilhar via


DroppedConnectionException Constructor (String, Exception)

Creates an instance of the DroppedConnectionExceptionclass with a specified error message and an inner exception.

Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in Microsoft.MetadirectoryServicesEx.dll)

Usage

'Usage
Dim description As String
Dim innerException As Exception

Dim instance As New DroppedConnectionException(description, innerException)

Syntax

'Declaration
Public Sub New ( _
    description As String, _
    innerException As Exception _
)
public DroppedConnectionException (
    string description,
    Exception innerException
)
public:
DroppedConnectionException (
    String^ description, 
    Exception^ innerException
)
public DroppedConnectionException (
    String description, 
    Exception innerException
)
public function DroppedConnectionException (
    description : String, 
    innerException : Exception
)

Parameters

  • description
    The error message.
  • innerException
    The inner exception.

Platforms

Target Platforms

See Also

Reference

DroppedConnectionException Class
DroppedConnectionException Members
Microsoft.MetadirectoryServices Namespace