Freigeben über


ComErrorRecord Constructor (String, String, Int32)

Creates an instance of the ComErrorRecord class and settings properties of the error.

Namespace: Microsoft.SqlServer.Replication
Assembly : Microsoft.SqlServer.Replication (in microsoft.sqlserver.replication.dll)

Syntax

'Declaration
Public Sub New ( _
    sourceType As String, _
    description As String, _
    errorNumber As Integer _
)
public ComErrorRecord (
    string sourceType,
    string description,
    int errorNumber
)
public:
ComErrorRecord (
    String^ sourceType, 
    String^ description, 
    int errorNumber
)
public ComErrorRecord (
    String sourceType, 
    String description, 
    int errorNumber
)
public function ComErrorRecord (
    sourceType : String, 
    description : String, 
    errorNumber : int
)

Parameter

  • sourceType
    Value that identifies the source of the error.
  • description
    Description of the error.
  • errorNumber
    Numeric error code.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

ComErrorRecord Class
ComErrorRecord Members
Microsoft.SqlServer.Replication Namespace