Class ApiException
Inheritance
System.Object
System.Exception
ApiException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
Namespace: Simplic.Cloud.API
Assembly: Simplic.Cloud.API.dll
Syntax
public class ApiException : Exception, ISerializable, _Exception
Constructors
| Improve this Doc View SourceApiException()
Declaration
public ApiException()
ApiException(String)
Declaration
public ApiException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
ApiException(String, String, String, String, HttpStatusCode)
Declaration
public ApiException(string message, string api, string controller, string action, HttpStatusCode errorCode)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
System.String | api | |
System.String | controller | |
System.String | action | |
System.Net.HttpStatusCode | errorCode |
ApiException(String, String, String, String, HttpStatusCode, Exception)
Declaration
public ApiException(string message, string api, string controller, string action, HttpStatusCode errorCode, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
System.String | api | |
System.String | controller | |
System.String | action | |
System.Net.HttpStatusCode | errorCode | |
System.Exception | innerException |
Properties
| Improve this Doc View SourceStatusCode
Declaration
public HttpStatusCode StatusCode { get; set; }
Property Value
Type | Description |
---|---|
System.Net.HttpStatusCode |
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception