Udostępnij za pośrednictwem


ComErrorRecord Constructors

Definition

Creates an instance of the ComErrorRecord class.

Overloads

ComErrorRecord()

Creates an instance of the ComErrorRecord class.

ComErrorRecord(String, String, Int32)

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

ComErrorRecord()

Creates an instance of the ComErrorRecord class.

public:
 ComErrorRecord();
public ComErrorRecord ();
Public Sub New ()

Applies to

ComErrorRecord(String, String, Int32)

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

public:
 ComErrorRecord(System::String ^ sourceType, System::String ^ description, int errorNumber);
public ComErrorRecord (string sourceType, string description, int errorNumber);
new Microsoft.SqlServer.Replication.ComErrorRecord : string * string * int -> Microsoft.SqlServer.Replication.ComErrorRecord
Public Sub New (sourceType As String, description As String, errorNumber As Integer)

Parameters

sourceType
String

Value that identifies the source of the error.

description
String

Description of the error.

errorNumber
Int32

Numeric error code.

Applies to