Classe ComErrorException
The exception that is thrown when a general error is raised by a replication agent.
Gerarchia di ereditarietà
System.Object
System.Exception
System.SystemException
System.Runtime.InteropServices.ExternalException
System.Runtime.InteropServices.COMException
Microsoft.SqlServer.Replication.ComErrorException
Spazio dei nomi Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)
Sintassi
'Dichiarazione
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public NotInheritable Class ComErrorException _
Inherits COMException
'Utilizzo
Dim instance As ComErrorException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public sealed class ComErrorException : COMException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public ref class ComErrorException sealed : public COMException
[<SealedAttribute>]
[<SerializableAttribute>]
[<ComVisibleAttribute(false)>]
type ComErrorException =
class
inherit COMException
end
public final class ComErrorException extends COMException
Nel tipo ComErrorException sono esposti i membri seguenti.
Costruttori
Nome | Descrizione | |
---|---|---|
![]() |
ComErrorException() | Initializes a new instance of the ComErrorException class. |
![]() |
ComErrorException(String) | Initializes a new instance of the ComErrorException class with a specified error message. |
![]() |
ComErrorException(String, Exception) | Initializes a new instance of the ComErrorException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
![]() |
ComErrorException(Int32, String, Int32, String, String, Guid, String) | Initializes a new instance of the ComErrorException class. |
In alto
Proprietà
Nome | Descrizione | |
---|---|---|
![]() |
ComHResult | Gets the error code (HRESULT) value associated with this exception. |
![]() |
Data | Ereditato da Exception. |
![]() |
Description | Gets a description of the error. |
![]() |
ErrorCode | Ereditato da ExternalException. |
![]() |
ErrorMessage | Gets the error message string. |
![]() |
HelpContext | Gets the context of a topic in a Help file. |
![]() |
HelpFile | Gets the fully qualified path to a Help file. |
![]() |
HelpLink | Ereditato da Exception. |
![]() |
HResult | Ereditato da Exception. |
![]() |
InnerException | Ereditato da Exception. |
![]() |
InterfaceId | Gets the identifier of the COM interface that is the source of the error. |
![]() |
Message | Ereditato da Exception. |
![]() |
Source | Gets the name of the object or application that is the source of the error. Esegue l'override di Exception.Source. |
![]() |
StackTrace | Ereditato da Exception. |
![]() |
TargetSite | Ereditato da Exception. |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
![]() |
Equals | Ereditato da Object. |
![]() |
GetBaseException | Ereditato da Exception. |
![]() |
GetHashCode | Ereditato da Object. |
![]() |
GetObjectData | Sets the specified SerializationInfo with information about the exception. Esegue l'override di Exception.GetObjectData(SerializationInfo, StreamingContext). |
![]() |
GetType | Ereditato da Exception. |
![]() |
ToString | Ereditato da COMException. |
In alto
Protezione dei thread
I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.