MacroException MembersKentico 8.1 API Reference
The MacroException type exposes the following members.
Constructors

  NameDescription
Public methodMacroException
Constructor.
Back to Top
Methods

  NameDescription
Public methodClone
Returns clone of the exception
(Inherited from GeneralCMSException.)
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 methodOnlineGetObjectData
When overridden in a derived class, sets the OnlineSerializationInfo with information about the exception.
(Inherited from OnlineException.)
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 MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
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
Protected propertyCustomMessage
Custom message.
(Inherited from CMSException.)
Public propertyOnlineData
Gets a collection of key/value pairs that provide additional user-defined information about the exception.
(Inherited from OnlineException.)
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 propertyMessage
Message.
(Inherited from CMSException.)
Public propertyOriginalExpression
Gets or sets the whole expression which was being processed when this error occured.
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.)
Public propertyUIMessage
Message displayed in the UI to the user
(Inherited from CMSException.)
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