MonobjcMonobjc Documented Class Library
PresentErrorModalForWindowDelegateDidPresentSelectorContextInfo Method (error, aWindow, delegate, didPresentSelector, contextInfo)
NamespacesMonobjc.AppKitNSResponderPresentErrorModalForWindowDelegateDidPresentSelectorContextInfo(NSError, NSWindow, Id, IntPtr, IntPtr)

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 BasicVisual C++
public virtual void PresentErrorModalForWindowDelegateDidPresentSelectorContextInfo(
	NSError error,
	NSWindow aWindow,
	Id delegate,
	IntPtr didPresentSelector,
	IntPtr contextInfo
Public Overridable Sub PresentErrorModalForWindowDelegateDidPresentSelectorContextInfo ( _
	error As NSError, _
	aWindow As NSWindow, _
	delegate As Id, _
	didPresentSelector As IntPtr, _
	contextInfo As IntPtr _
virtual void PresentErrorModalForWindowDelegateDidPresentSelectorContextInfo(
	NSError^ error, 
	NSWindow^ aWindow, 
	Id^ delegate, 
	IntPtr didPresentSelector, 
	IntPtr contextInfo
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)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)