Share via


ComErrorException Constructor

Initializes a new instance of the ComErrorException class.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

Syntax

'Declaration
Public Sub New
'Usage

Dim instance As New ComErrorException()
public ComErrorException()
public:
ComErrorException()
new : unit -> ComErrorException
public function ComErrorException()

Remarks

This constructor initializes the Message property of the new instance to a system-supplied message that describes the error.

The following table shows the initial property values for an instance of ComErrorException.

Property

Value

InnerException

A null reference.

Message

A system-supplied localized description.