Class ServiceErrorExtensions
Inheritance
System.Object
ServiceErrorExtensions
Inherited Members
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: iMobileDevice.Service
Assembly: iMobileDevice-net.dll
Syntax
public static class ServiceErrorExtensions
Methods
| Improve this Doc View SourceIsError(ServiceError)
Declaration
public static bool IsError(this ServiceError value)
Parameters
Type | Name | Description |
---|---|---|
ServiceError | value |
Returns
Type | Description |
---|---|
System.Boolean |
ThrowOnError(ServiceError)
Declaration
public static void ThrowOnError(this ServiceError value)
Parameters
Type | Name | Description |
---|---|---|
ServiceError | value |
ThrowOnError(ServiceError, String)
Declaration
public static void ThrowOnError(this ServiceError value, string message)
Parameters
Type | Name | Description |
---|---|---|
ServiceError | value | |
System.String | message |