Method AsCoreLocationErrorCode
AsCoreLocationErrorCode(NSError)
Converts an NSError to an CoreLocationErrorCode by casting its code to an CoreLocationErrorCode.
Declaration
public static CoreLocationErrorCode AsCoreLocationErrorCode(this NSError error)
Parameters
Type | Name | Description |
---|---|---|
NSError | error | The NSError being extended. |
Returns
Type | Description |
---|---|
CoreLocationErrorCode | Returns the NSError as an CoreLocationErrorCode. |
Exceptions
Type | Condition |
---|---|
InvalidCastException | Thrown if |