MonobjcMonobjc Documented Class Library
NSApplication..::..ApplicationWillPresentErrorEventHandler Delegate
NamespacesMonobjc.AppKitNSApplicationNSApplication..::..ApplicationWillPresentErrorEventHandler

Sent to the delegate before the specified application presents an error message to the user.

Original signature is '- (NSError *)application:(NSApplication *)application willPresentError:(NSError *)error'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public delegate NSError ApplicationWillPresentErrorEventHandler(
	NSApplication application,
	NSError error
)
Public Delegate Function ApplicationWillPresentErrorEventHandler ( _
	application As NSApplication, _
	error As NSError _
) As NSError
public delegate NSError^ ApplicationWillPresentErrorEventHandler(
	NSApplication^ application, 
	NSError^ error
)
Parameters
application (NSApplication)
The application object associated with the delegate.
error (NSError)
The error object that is used to construct the error message. Your implementation of this method can return a new NSError object or the same one in this parameter.
Return Value
The error object to display.
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)