ComErrorException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The exception that is thrown when a general error is raised by a replication agent.
public ref class ComErrorException sealed : System::Runtime::InteropServices::COMException
[System.Runtime.InteropServices.ComVisible(false)]
[System.Serializable]
public sealed class ComErrorException : System.Runtime.InteropServices.COMException
[<System.Runtime.InteropServices.ComVisible(false)>]
[<System.Serializable>]
type ComErrorException = class
inherit COMException
Public NotInheritable Class ComErrorException
Inherits COMException
- Inheritance
-
ComErrorException
- Attributes
Constructors
ComErrorException() |
Initializes a new instance of the ComErrorException class. |
ComErrorException(Int32, String, Int32, String, String, Guid, String) |
Initializes a new instance of the ComErrorException class. |
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(String) |
Initializes a new instance of the ComErrorException class with a specified error message. |
Properties
ComHResult |
Gets the error code (HRESULT) value associated with this exception. |
Description |
Gets a description of the error. |
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. |
InterfaceId |
Gets the identifier of the COM interface that is the source of the error. |
Source |
Gets the name of the object or application that is the source of the error. |
Methods
GetObjectData(SerializationInfo, StreamingContext) |
Sets the specified SerializationInfo with information about the exception. |