共用方式為


ComErrorException 建構函式

Initializes a new instance of the ComErrorException class.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Replication (在 Microsoft.SqlServer.Replication.dll 中)

語法

'宣告
Public Sub New
'用途
Dim instance As New ComErrorException()
public ComErrorException()
public:
ComErrorException()
new : unit -> ComErrorException
public function ComErrorException()

備註

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.

請參閱

參考

ComErrorException 類別

ComErrorException 多載

Microsoft.SqlServer.Replication 命名空間