Presents an error alert to the user as a document-modal sheet attached to document window.
Original signature is '- (void)presentError:(NSError *)error modalForWindow:(NSWindow *)aWindow delegate:(id)delegate didPresentSelector:(SEL)didPresentSelector contextInfo:(void *)contextInfo'
Available in Mac OS X v10.4 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual void PresentErrorModalForWindowDelegateDidPresentSelectorContextInfo( NSError error, NSWindow aWindow, Id delegate, IntPtr didPresentSelector, IntPtr contextInfo )
Parameters
- error (NSError)
- The object encapsulating information about the error.
- aWindow (NSWindow)
- The window object identifying the window owning the document-modal sheet.
- delegate (Id)
- The modal delegate for the sheet.
- didPresentSelector (IntPtr)
- A selector identifying the message to be sent to the modal delegate. The didPresentSelector selector must have the signature:
- contextInfo (IntPtr)
- Supplemental data to be passed to the modal delegate; can be NULL.
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)