DataComException MembersKentico 8.0 API Reference
The DataComException type exposes the following members.
Constructors

  NameDescription
Public methodDataComException 
Initializes a new instance of the DataComException class.
Public methodDataComException(String)
Initializes a new instance of the DataComException class with the specified error message.
Public methodDataComException(String, IEnumerable Error )
Initializes a new instance of the DataComException class with the specified error message and Data.com REST API errors.
Public methodDataComException(String, Exception)
Initializes a new instance of the DataComException class with the specified error message and inner exception.
Public methodDataComException(String, IEnumerable Error , Exception)
Initializes a new instance of the DataComException class with the specified error message, Data.com REST API errors and inner exception.
Back to Top
Methods

  NameDescription
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetBaseException
When overridden in a derived class, returns the OnlineException that is the root cause of one or more subsequent exceptions.
(Inherited from OnlineException.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodGetObjectData
Stores the object state into the specified serialization context.
(Overrides OnlineException GetObjectData(SerializationInfo, StreamingContext).)
Public methodOnlineGetType
Gets the runtime type of the current instance.
(Inherited from OnlineException.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodOnlineToString
Creates and returns a string representation of the current exception.
(Inherited from OnlineException.)
Back to Top
Extension Methods

  NameDescription
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Back to Top
Properties

  NameDescription
Public propertyOnlineData
Gets a collection of key/value pairs that provide additional user-defined information about the exception.
(Inherited from OnlineException.)
Public propertyErrors
Gets an enumerable collection of Data.com REST API errors.
Public propertyOnlineHelpLink
Gets or sets a link to the help file associated with this exception.
(Inherited from OnlineException.)
Protected propertyOnlineHResult
Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception.
(Inherited from OnlineException.)
Public propertyOnlineInnerException
Gets the OnlineException instance that caused the current exception.
(Inherited from OnlineException.)
Public propertyOnlineMessage
Gets a message that describes the current exception.
(Inherited from OnlineException.)
Public propertyOnlineSource
Gets or sets the name of the application or the object that causes the error.
(Inherited from OnlineException.)
Public propertyOnlineStackTrace
Gets a string representation of the immediate frames on the call stack.
(Inherited from OnlineException.)
Public propertyOnlineTargetSite
Gets the method that throws the current exception.
(Inherited from OnlineException.)
Back to Top
Events

  NameDescription
Protected eventOnlineSerializeObjectState
Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception.
(Inherited from OnlineException.)
Back to Top
See Also