Nota
O acesso a esta página requer autorização. Podes tentar iniciar sessão ou mudar de diretório.
O acesso a esta página requer autorização. Podes tentar mudar de diretório.
The exception that is thrown when a general error is raised by a replication agent.
Hierarquia de herança
System.Object
System.Exception
System.SystemException
System.Runtime.InteropServices.ExternalException
System.Runtime.InteropServices.COMException
Microsoft.SqlServer.Replication.ComErrorException
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (em Microsoft.SqlServer.Replication.dll)
Sintaxe
'Declaração
<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
O tipo ComErrorException expõe os membros a seguir.
Construtores
| Nome | Descrição | |
|---|---|---|
![]() |
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ício
Propriedades
| Nome | Descrição | |
|---|---|---|
![]() |
ComHResult | Gets the error code (HRESULT) value associated with this exception. |
![]() |
Data | (Herdado de Exception.) |
![]() |
Description | Gets a description of the error. |
![]() |
ErrorCode | (Herdado 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 | (Herdado de Exception.) |
![]() |
HResult | (Herdado de Exception.) |
![]() |
InnerException | (Herdado de Exception.) |
![]() |
InterfaceId | Gets the identifier of the COM interface that is the source of the error. |
![]() |
Message | (Herdado de Exception.) |
![]() |
Source | Gets the name of the object or application that is the source of the error. (Substitui Exception.Source.) |
![]() |
StackTrace | (Herdado de Exception.) |
![]() |
TargetSite | (Herdado de Exception.) |
Início
Métodos
| Nome | Descrição | |
|---|---|---|
![]() |
Equals | (Herdado de Object.) |
![]() |
GetBaseException | (Herdado de Exception.) |
![]() |
GetHashCode | (Herdado de Object.) |
![]() |
GetObjectData | Sets the specified SerializationInfo with information about the exception. (Substitui Exception.GetObjectData(SerializationInfo, StreamingContext).) |
![]() |
GetType | (Herdado de Exception.) |
![]() |
ToString | (Herdado de COMException.) |
Início
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.
.gif)
.gif)