The following tables list the members exposed by ServiceException.
Name | Description | |
---|---|---|
Code | The service error code. | |
Data | Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Inherited from System.Exception) | |
Details | The service error details. | |
HelpLink | Gets or sets a link to the help file associated with this exception. (Inherited from System.Exception) | |
InnerException | Gets the System.Exception instance that caused the current exception. (Inherited from System.Exception) | |
Message | Overridden. Gets a message that describes the current 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) |
Name | Description | |
---|---|---|
HResult | Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Inherited from System.Exception) |
Name | Description | |
---|---|---|
FromJson | Creates a ServiceException from a string in JSON format. | |
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) | |
ToString | Returns a System.String that represents this instance. |
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) |