Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
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) | Initializes a new instance of the ComErrorException class. |
Haut de la page
Propriétés
| Nom | Description | |
|---|---|---|
![]() |
ComHResult | Gets the error code (HRESULT) value associated with this exception. |
![]() |
Data | (hérité de Exception.) |
![]() |
Description | Gets a description of the error. |
![]() |
ErrorCode | (hérité de 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 | (hérité de Exception.) |
![]() |
HResult | (hérité de Exception.) |
![]() |
InnerException | (hérité de Exception.) |
![]() |
InterfaceId | Gets the identifier of the COM interface that is the source of the error. |
![]() |
Message | (hérité de Exception.) |
![]() |
Source | Gets 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.) |
![]() |
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.) |
![]() |
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)