Compartilhar via


Construtor ComErrorRecord (String, String, Int32)

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

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

Sintaxe

'Declaração
Public Sub New ( _
    sourceType As String, _
    description As String, _
    errorNumber As Integer _
)
'Uso
Dim sourceType As String 
Dim description As String 
Dim errorNumber As Integer 

Dim instance As New ComErrorRecord(sourceType, _
    description, errorNumber)
public ComErrorRecord(
    string sourceType,
    string description,
    int errorNumber
)
public:
ComErrorRecord(
    String^ sourceType, 
    String^ description, 
    int errorNumber
)
new : 
        sourceType:string * 
        description:string * 
        errorNumber:int -> ComErrorRecord
public function ComErrorRecord(
    sourceType : String, 
    description : String, 
    errorNumber : int
)

Parâmetros

  • sourceType
    Tipo: System.String
    Value that identifies the source of the error.

Consulte também

Referência

ComErrorRecord Classe

Sobrecarregado ComErrorRecord

Namespace Microsoft.SqlServer.Replication