MiddlewareException Class Members
- Last UpdatedNov 06, 2025
- 6 minute read
The following tables list the members exposed by MiddlewareException.
| Name | Description | |
|---|---|---|
![]() | MiddlewareException Constructor | Overloaded. |
| Name | Description | |
|---|---|---|
![]() | _HResult | (Inherited from System.Exception) |
![]() | _message | (Inherited from System.Exception) |
| Name | Description | |
|---|---|---|
![]() | Data | Overridden. This will return null to help Serialization Process - do not use |
![]() | DbClass | This indicates a database exception value. This is valid if the MiddlewareExceptionType is one of the *DB* types. |
![]() | DbErrorCode | This indicates a database exception value. This is valid if the MiddlewareExceptionType is one of the *DB* types. |
![]() | DbLineNumber | This indicates a database exception value. This is valid if the MiddlewareExceptionType is one of the *DB* types. |
![]() | DbNumber | This indicates a database exception value. This is valid if the MiddlewareExceptionType is one of the *DB* types. |
![]() | DbProcedure | This indicates a database exception value. This is valid if the MiddlewareExceptionType is one of the *DB* types. |
![]() | DbProvider | This indicates the database where the error came from. This is valid if the MiddlewareExceptionType is one of the *DB* types. Depending on the provider, some of the other Db* properties may not be filled in. |
![]() | DbState | This indicates a database exception value. This is valid if the MiddlewareExceptionType is one of the *DB* types. |
![]() | ExceptionType | Specifies the specialized type of this Exception |
![]() | HelpLink | Gets or sets a link to the help file associated with this exception. (Inherited from System.Exception) |
![]() | HResult | Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Inherited from System.Exception) |
![]() | InnerException | Returns the inner MiddlewareException, or null if none exists. WARNING: if you are working with an instance of this class, and you are treating it as a generic Exception, you will not get the inner MiddlewareException. Be sure to cast the Exception to MiddlewareException when using |
![]() | MESExceptionType | Specifies the MES specialized type of this Exception |
![]() | Message | Gets a message that describes the current exception. (Inherited from System.Exception) |
![]() | Source | Gets or sets the name of the application or the object that causes the error. (Inherited from System.Exception) |
![]() | StackTrace | Gets a string representation of the immediate frames on the call stack. (Inherited from System.Exception) |
![]() | TargetSite | Gets the method that throws the current exception. (Inherited from System.Exception) |
![]() | VerboseMessage | This is similar to the Message property, but it recursively goes through all inner Exceptions and builds an error message. This would be suitable for the Logger. |
![]() | VerboseStackTrace | This is similar to the StackTrace property, but it recursively goes through all inner Exceptions and builds a comprehensive stack trace. |
| Name | Description | |
|---|---|---|
![]() | IPForWatsonBuckets | (Inherited from System.Exception) |
![]() | IsTransient | (Inherited from System.Exception) |
![]() | RemoteStackTrace | (Inherited from System.Exception) |
![]() | WatsonBuckets | (Inherited from System.Exception) |
| Name | Description | |
|---|---|---|
![]() ![]() | DeSerialize | Deserializes a MiddlewareException from a string |
![]() | GetBaseException | When overridden in a derived class, returns the System.Exception that is the root cause of one or more subsequent exceptions. (Inherited from System.Exception) |
![]() | GetObjectData | When overridden in a derived class, sets the System.Runtime.Serialization.SerializationInfo with information about the exception. (Inherited from System.Exception) |
![]() | GetType | Gets the runtime type of the current instance. (Inherited from System.Exception) |
![]() | IsDBConnectionIssue | This recursively evaluates the current exception condition and returns true if the condition was a database connection error. This is only useful if the ExceptionType is of the *DBConn type |
![]() | IsRetryCondition | This recursively evaluates the current exception condition and returns true if the condition warrants a retry. This is only useful if the ExceptionType is of the *DB type |
![]() ![]() | Serialize | Serializes a MiddlewareException to a string |
![]() | ToString | Creates and returns a string representation of the current exception. (Inherited from System.Exception) |
| Name | Description | |
|---|---|---|
![]() | AddExceptionDataForRestrictedErrorInfo | (Inherited from System.Exception) |
![]() | DeepCopyDynamicMethods | (Inherited from System.Exception) |
![]() | DeepCopyStackTrace | (Inherited from System.Exception) |
![]() | GetStackTracesDeepCopy | (Inherited from System.Exception) |
![]() | InternalPreserveStackTrace | (Inherited from System.Exception) |
![]() | InternalToString | (Inherited from System.Exception) |
![]() | PrepForRemoting | (Inherited from System.Exception) |
![]() | RestoreExceptionDispatchInfo | (Inherited from System.Exception) |
![]() | SetErrorCode | (Inherited from System.Exception) |
![]() | TryGetRestrictedLanguageErrorObject | (Inherited from System.Exception) |
| Name | Description | |
|---|---|---|
![]() | SerializeObjectState | Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception. (Inherited from System.Exception) |







