Konstruktor ComErrorException (Int32, String, Int32, String, String, Guid, String)
Przestrzeń nazw: Microsoft.SqlServer.Replication
Zestaw: Microsoft.SqlServer.Replication (w Microsoft.SqlServer.Replication.dll)
Składnia
'Deklaracja
Public Sub New ( _
comHResult As Integer, _
description As String, _
helpContext As Integer, _
helpFile As String, _
source As String, _
interfaceId As Guid, _
errorMessage As String _
)
'Użycie
Dim comHResult As Integer
Dim description As String
Dim helpContext As Integer
Dim helpFile As String
Dim source As String
Dim interfaceId As Guid
Dim errorMessage As String
Dim instance As New ComErrorException(comHResult, _
description, helpContext, helpFile, _
source, interfaceId, errorMessage)
public ComErrorException(
int comHResult,
string description,
int helpContext,
string helpFile,
string source,
Guid interfaceId,
string errorMessage
)
public:
ComErrorException(
int comHResult,
String^ description,
int helpContext,
String^ helpFile,
String^ source,
Guid interfaceId,
String^ errorMessage
)
new :
comHResult:int *
description:string *
helpContext:int *
helpFile:string *
source:string *
interfaceId:Guid *
errorMessage:string -> ComErrorException
public function ComErrorException(
comHResult : int,
description : String,
helpContext : int,
helpFile : String,
source : String,
interfaceId : Guid,
errorMessage : String
)
Parametry
- comHResult
Typ: System.Int32
Błąd wartość kodu (HRESULT) skojarzonych z tym wyjątkiem.
- description
Typ: System.String
Opis błędu.
- helpContext
Typ: System.Int32
Kontekstu tematu w pliku pomocy.
- helpFile
Typ: System.String
W pełni kwalifikowana ścieżka do pliku pomocy.
- source
Typ: System.String
Nazwa źródło błędu.
- interfaceId
Typ: System.Guid
Identyfikator interfejs COM, który jest źródło błędu.
- errorMessage
Typ: System.String
Ciąg komunikatu błędu.
Zobacz także