Class MobileBackup2Exception
Inheritance
Implements
Inherited Members
Namespace: iMobileDevice.MobileBackup2
Assembly: iMobileDevice-net.dll
Syntax
[Serializable]
public class MobileBackup2Exception : Exception, ISerializable, _Exception
Constructors
| Improve this Doc View SourceMobileBackup2Exception()
Initializes a new instance of the MobileBackup2Exception class.
Declaration
public MobileBackup2Exception()
MobileBackup2Exception(MobileBackup2Error)
Declaration
public MobileBackup2Exception(MobileBackup2Error error)
Parameters
Type | Name | Description |
---|---|---|
MobileBackup2Error | error |
MobileBackup2Exception(MobileBackup2Error, String)
Declaration
public MobileBackup2Exception(MobileBackup2Error error, string message)
Parameters
Type | Name | Description |
---|---|---|
MobileBackup2Error | error | |
System.String | message |
MobileBackup2Exception(SerializationInfo, StreamingContext)
Initializes a new instance of the MobileBackup2Exception class with serialized data.
Declaration
protected MobileBackup2Exception(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. |
MobileBackup2Exception(String)
Initializes a new instance of the MobileBackup2Exception class with a specified error message.
Declaration
public MobileBackup2Exception(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
MobileBackup2Exception(String, Exception)
Initializes a new instance of the MobileBackup2Exception class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public MobileBackup2Exception(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 MobileBackup2Error ErrorCode { get; }
Property Value
Type | Description |
---|---|
MobileBackup2Error |