MonobjcMonobjc Documented Class Library
ApplicationWillPresentErrorMessage Method (application, error)
NamespacesMonobjc.AppKitNSApplication..::..NSApplicationDelegateEventDispatcherApplicationWillPresentErrorMessage(NSApplication, NSError)

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 NSError ApplicationWillPresentErrorMessage(
	NSApplication application,
	NSError error
Public Function ApplicationWillPresentErrorMessage ( _
	application As NSApplication, _
	error As NSError _
) As NSError
NSError^ ApplicationWillPresentErrorMessage(
	NSApplication^ application, 
	NSError^ error
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)