SlackException Methods |
The SlackException type exposes the following members.
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetBaseException | When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (Inherited from Exception.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetObjectData | When overridden in a derived class, sets the SerializationInfo with information about the exception. (Inherited from Exception.) | |
GetType | Gets the runtime type of the current instance. (Inherited from Exception.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString |
Creates and returns a string representation of the current exception.
The string is intended to look just like the standard Exception.ToString() output except
that it includes DeveloperMessage, if any.
(Inherited from EAPException.) |
Name | Description | |
---|---|---|
ContainsException |
Determines whether or not the exception or one of its nested internal exceptions is of the specified exception type.
For example: bool isAuth = ex.ContainsException(typeof(System.Security.Authentication.AuthenticationException)); (Defined by ExceptionExtensions.) | |
DeveloperMessage |
Gets any developer-specific message content from DeveloperMessage.
(Defined by ExceptionExtensions.) | |
EqualValue |
Determines if the object value is equal to another object. If the two objects are null, then this returns true.
There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways).
If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.) | |
IsAuthenticationException |
Determines if the exception or one of its nested internal exceptions is an authentication exception.
Currently only AuthenticationException is recognized.
(Defined by ExceptionExtensions.) | |
IsDBException |
Determines if the exception is a database provider originated exception.
Currently only SqlException is recognized.
(Defined by ExceptionExtensions.) | |
MayRequireSuppression |
Determines whether this exception, (or any of its inner exceptions if considerEntireExceptionStack is specified),
may contain sensitive information that should be suppressed when when UnhandledErrorSuppression is enabled.
Currently exceptions where IsDBException(Exception) is true and EAPException exceptions with
IsSensitive set are considered to require suppression.
(Defined by ExceptionExtensions.) | |
SuppressInner |
Gets whether or not this exception has been marked to suppress inner exceptions when generating a non-developer user error messages.
See SuppressInner.
(Defined by ExceptionExtensions.) | |
VerboseMessage |
Gets a verbose string representation of the exception.
The string is intended to look just like the standard .Net Exception.ToString() output except
that it includes DeveloperMessage, if any, if the exception implements
the IEAPExtendedException interface (as does the EAPException class used as the
base class for most platform exceptions).
As with the standard .Net Exception.ToString() method, the returned string will include the stack trace
and the verbose message for any internal exceptions (recursively).
(Defined by ExceptionExtensions.) |