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