Implemented to attempt a recovery from an error noted in an application-modal dialog.
Original signature is '- (BOOL)attemptRecoveryFromError:(NSError *)error optionIndex:(NSUInteger)recoveryOptionIndex'
Available in Mac OS X v10.4 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
bool AttemptRecoveryFromErrorOptionIndex( NSError error, NSUInteger recoveryOptionIndex )
Function AttemptRecoveryFromErrorOptionIndex ( _ error As NSError, _ recoveryOptionIndex As NSUInteger _ ) As Boolean
bool AttemptRecoveryFromErrorOptionIndex( NSError^ error, NSUInteger recoveryOptionIndex )
Parameters
- error (NSError)
- An NSError object that describes the error, including error recovery options.
- recoveryOptionIndex (NSUInteger)
- The index of the user selected recovery option in error's localized recovery array.
Return Value
YES if the error recovery was completed successfully, NO otherwise.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)