Class ApiException
Inheritance
System.Object
System.Exception
ApiException
Inherited Members
System.Exception.GetBaseException()
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: System.Dynamic.ExpandoObject
Syntax
public class ApiException : Exception, ISerializable, _Exception
Constructors
ApiException(String, Int32, String, IReadOnlyDictionary<String, IEnumerable<String>>, Exception)
Declaration
public ApiException(string message, int statusCode, string response, IReadOnlyDictionary<string, IEnumerable<string>> headers, Exception innerException)
Parameters
System.String
message
|
System.Int32
statusCode
|
System.String
response
|
System.Collections.Generic.IReadOnlyDictionary<System.String, System.Collections.Generic.IEnumerable<System.String>>
headers
|
System.Exception
innerException
|
Properties
Headers
Declaration
public IReadOnlyDictionary<string, IEnumerable<string>> Headers { get; }
Property Value
System.Collections.Generic.IReadOnlyDictionary<System.String, System.Collections.Generic.IEnumerable<System.String>>
|
Response
Declaration
public string Response { get; }
Property Value
System.String
|
StatusCode
Declaration
public int StatusCode { get; }
Property Value
System.Int32
|
Methods
ToString()
Declaration
public override string ToString()
Returns
System.String
|
Overrides
System.Exception.ToString()