Rest |
public class RestClientException<TResult> : WebException, IHasToDisplay, IRestException
[Missing <typeparam name="TResult"/> documentation for "T:SanteDB.Core.Http.RestClientException`1"]
The RestClientExceptionTResult type exposes the following members.
| Name | Description | |
|---|---|---|
| RestClientExceptionTResult(String, Exception) | Create a new rest client exception | |
| RestClientExceptionTResult(TResult, Exception, WebExceptionStatus, WebResponse) | Create the client exception |
| Name | Description | |
|---|---|---|
| Data | Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Inherited from Exception) | |
| HelpLink | Gets or sets a link to the help file associated with this exception. (Inherited from Exception) | |
| HResult | Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Inherited from Exception) | |
| HttpStatus | Gets the HTTP status of the result | |
| InnerException | Gets the Exception instance that caused the current exception. (Inherited from Exception) | |
| Message | Gets a message that describes the current exception. (Inherited from Exception) | |
| Response | Gets the response that the remote host returned. (Inherited from WebException) | |
| Result | The result | |
| Source | Gets or sets the name of the application or the object that causes the error. (Inherited from Exception) | |
| StackTrace | Gets a string representation of the immediate frames on the call stack. (Inherited from Exception) | |
| Status | Gets the status of the response. (Inherited from WebException) | |
| TargetSite | Gets the method that throws the current exception. (Inherited from Exception) |
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it 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 the default hash function. (Inherited from Object) | |
| GetObjectData | Populates a SerializationInfo instance with the data needed to serialize the WebException. (Inherited from WebException) | |
| GetType | Gets the runtime type of the current instance. (Inherited from Exception) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| ToDisplay | Get the message for rendering in the user interface | |
| ToString |
Returns a string that represents the current object.
(Overrides ExceptionToString) |
| Name | Description | |
|---|---|---|
| SerializeObjectState | Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception. (Inherited from Exception) |
| Name | Description | |
|---|---|---|
| ConvertTReturn |
The purpose of this method is to convert object me to TReturn. Why?
Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast
so we have to copy.
(Defined by ExtensionMethods) | |
| GetHttpStatusCode |
Get the HTTP status code for exception (Defined by HttpErrorUtility) | |
| IsCommunicationException |
Will iterate through the exception and determine whether the exception was caused by a communication/network issue
(Defined by ExtensionMethods) | |
| IsHttpException |
Determines if exception represents an HTTP error condition
(Defined by ExtensionMethods) | |
| IsTimeoutException |
Iterates through the exception causes and returns true if any exception in the hierarchy is a TimeoutException (Defined by ExtensionMethods) | |
| ToHumanReadableString |
Convert the exception to a human readable string
(Defined by ExtensionMethods) | |
| WithControl |
With control parameter is used as a wrapper for _ parameters
(Defined by QueryFilterExtensions) |