Class MobileBackupException
Inheritance
Implements
Inherited Members
Namespace: iMobileDevice.MobileBackup
Assembly: iMobileDevice-net.dll
Syntax
[Serializable]
public class MobileBackupException : Exception, ISerializable, _Exception
Constructors
| Improve this Doc View SourceMobileBackupException()
Initializes a new instance of the MobileBackupException class.
Declaration
public MobileBackupException()
MobileBackupException(MobileBackupError)
Declaration
public MobileBackupException(MobileBackupError error)
Parameters
Type | Name | Description |
---|---|---|
MobileBackupError | error |
MobileBackupException(MobileBackupError, String)
Declaration
public MobileBackupException(MobileBackupError error, string message)
Parameters
Type | Name | Description |
---|---|---|
MobileBackupError | error | |
System.String | message |
MobileBackupException(SerializationInfo, StreamingContext)
Initializes a new instance of the MobileBackupException class with serialized data.
Declaration
protected MobileBackupException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |
MobileBackupException(String)
Initializes a new instance of the MobileBackupException class with a specified error message.
Declaration
public MobileBackupException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
MobileBackupException(String, Exception)
Initializes a new instance of the MobileBackupException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public MobileBackupException(string message, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
System.Exception | inner | The exception that is the cause of the current exception, or null if no inner exception is specified. |
Properties
| Improve this Doc View SourceErrorCode
Gets the error code that represents the error.
Declaration
public virtual MobileBackupError ErrorCode { get; }
Property Value
Type | Description |
---|---|
MobileBackupError |