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