MonobjcMonobjc Documented Class Library
PresentError Method (error)
NamespacesMonobjc.AppKitNSDocumentPresentError(NSError)

Presents an error alert to the user as a modal panel.

Original signature is '- (BOOL)presentError:(NSError *)error'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool PresentError(
	NSError error
)
Public Overridable Function PresentError ( _
	error As NSError _
) As Boolean
public:
virtual bool PresentError(
	NSError^ error
)
Parameters
error (NSError)
The error object encapsulating the information to present to the user.
Return Value
YES if error recovery was done; otherwise, NO.
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)