Classe ComErrorException
The exception that is thrown when a general error is raised by a replication agent.
Hiérarchie d'héritage
System. . :: . .Object
System. . :: . .Exception
System. . :: . .SystemException
System.Runtime.InteropServices. . :: . .ExternalException
System.Runtime.InteropServices. . :: . .COMException
Microsoft.SqlServer.Replication..::..ComErrorException
Espace de noms : Microsoft.SqlServer.Replication
Assembly : Microsoft.SqlServer.Replication (en Microsoft.SqlServer.Replication.dll)
Syntaxe
'Déclaration
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public NotInheritable Class ComErrorException _
Inherits COMException
'Utilisation
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
Le type ComErrorException expose les membres suivants.
Constructeurs
| Nom | Description | |
|---|---|---|
![]() |
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) |
Haut de la page
Propriétés
| Nom | Description | |
|---|---|---|
![]() |
ComHResult | The error code (HRESULT) value associated with this exception. |
![]() |
Data | (hérité de Exception.) |
![]() |
Description | A description of the error. |
![]() |
ErrorCode | (hérité de ExternalException.) |
![]() |
ErrorMessage | The error message string. |
![]() |
HelpContext | The context of a topic in a Help file. |
![]() |
HelpFile | The fully qualified path to a Help file. |
![]() |
HelpLink | (hérité de Exception.) |
![]() |
HResult | (hérité de Exception.) |
![]() |
InnerException | (hérité de Exception.) |
![]() |
InterfaceId | The identifier of the COM interface that is the source of the error. |
![]() |
Message | (hérité de Exception.) |
![]() |
Source | The name of the object or application that is the source of the error. (remplace Exception. . :: . .Source.) |
![]() |
StackTrace | (hérité de Exception.) |
![]() |
TargetSite | (hérité de Exception.) |
Haut de la page
Méthodes
| Nom | Description | |
|---|---|---|
![]() |
Equals | (hérité de Object.) |
![]() |
Finalize | (hérité de Object.) |
![]() |
GetBaseException | (hérité de Exception.) |
![]() |
GetHashCode | (hérité de Object.) |
![]() |
GetObjectData | Sets the specified SerializationInfo with information about the exception. (remplace Exception. . :: . .GetObjectData(SerializationInfo, StreamingContext).) |
![]() |
GetType | (hérité de Exception.) |
![]() |
MemberwiseClone | (hérité de Object.) |
![]() |
ToString | (hérité de COMException.) |
Haut de la page
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.
.gif)
.gif)
.gif)
.gif)