MegaApiException

Ecng.Backup.Mega.Native

Exception thrown when MEGA API returns an error code.

継承元: InvalidOperationException

コンストラクター

MegaApiException
public MegaApiException(int code)
megaApiException = MegaApiException(code)

Initializes a new instance of MegaApiException.

code
Raw MEGA API error code.

プロパティ

Code
public int Code { get; }
value = megaApiException.Code

Raw MEGA API error code.

ErrorCode
public MegaErrorCode ErrorCode { get; }
value = megaApiException.ErrorCode

Parsed error code if it is a known MegaErrorCode value; otherwise Unknown.