Udostępnij za pośrednictwem


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
)

Parameters

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

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

ComErrorRecord Class
ComErrorRecord Members
Microsoft.SqlServer.Replication Namespace