Class ApiRequestFailedEventArgs
Inheritance
System.Object
System.EventArgs
ApiRequestFailedEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: CG.Web.MegaApiClient
Assembly: MegaApiClient.dll
Syntax
public class ApiRequestFailedEventArgs : EventArgs
Constructors
| Improve this Doc View SourceApiRequestFailedEventArgs(Uri, Int32, TimeSpan, ApiResultCode, Exception)
Declaration
public ApiRequestFailedEventArgs(Uri url, int attemptNum, TimeSpan retryDelay, ApiResultCode apiResult, Exception exception)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | url | |
System.Int32 | attemptNum | |
System.TimeSpan | retryDelay | |
ApiResultCode | apiResult | |
System.Exception | exception |
ApiRequestFailedEventArgs(Uri, Int32, TimeSpan, ApiResultCode, String)
Declaration
public ApiRequestFailedEventArgs(Uri url, int attemptNum, TimeSpan retryDelay, ApiResultCode apiResult, string responseJson)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | url | |
System.Int32 | attemptNum | |
System.TimeSpan | retryDelay | |
ApiResultCode | apiResult | |
System.String | responseJson |
Properties
| Improve this Doc View SourceApiResult
Declaration
public ApiResultCode ApiResult { get; }
Property Value
Type | Description |
---|---|
ApiResultCode |
ApiUrl
Declaration
public Uri ApiUrl { get; }
Property Value
Type | Description |
---|---|
System.Uri |
AttemptNum
Declaration
public int AttemptNum { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Exception
Declaration
public Exception Exception { get; }
Property Value
Type | Description |
---|---|
System.Exception |
ResponseJson
Declaration
public string ResponseJson { get; }
Property Value
Type | Description |
---|---|
System.String |
RetryDelay
Declaration
public TimeSpan RetryDelay { get; }
Property Value
Type | Description |
---|---|
System.TimeSpan |