Clase ComErrorException
The exception that is thrown when a general error is raised by a replication agent.
Jerarquía de herencia
System.Object
System.Exception
System.SystemException
System.Runtime.InteropServices.ExternalException
System.Runtime.InteropServices.COMException
Microsoft.SqlServer.Replication.ComErrorException
Espacio de nombres: Microsoft.SqlServer.Replication
Ensamblado: Microsoft.SqlServer.Replication (en Microsoft.SqlServer.Replication.dll)
Sintaxis
'Declaración
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public NotInheritable Class ComErrorException _
Inherits COMException
'Uso
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
El tipo ComErrorException expone los siguientes miembros.
Constructores
Nombre | Descripción | |
---|---|---|
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. |
Arriba
Propiedades
Nombre | Descripción | |
---|---|---|
ComHResult | Gets the error code (HRESULT) value associated with this exception. | |
Data | (Se hereda de Exception.) | |
Description | Gets a description of the error. | |
ErrorCode | (Se hereda 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 | (Se hereda de Exception.) | |
HResult | (Se hereda de Exception.) | |
InnerException | (Se hereda de Exception.) | |
InterfaceId | Gets the identifier of the COM interface that is the source of the error. | |
Message | (Se hereda de Exception.) | |
Source | Gets the name of the object or application that is the source of the error. (Invalida Exception.Source.) | |
StackTrace | (Se hereda de Exception.) | |
TargetSite | (Se hereda de Exception.) |
Arriba
Métodos
Nombre | Descripción | |
---|---|---|
Equals | (Se hereda de Object.) | |
GetBaseException | (Se hereda de Exception.) | |
GetHashCode | (Se hereda de Object.) | |
GetObjectData | Sets the specified SerializationInfo with information about the exception. (Invalida Exception.GetObjectData(SerializationInfo, StreamingContext).) | |
GetType | (Se hereda de Exception.) | |
ToString | (Se hereda de COMException.) |
Arriba
Seguridad para subprocesos
Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.