MonobjcMonobjc Documented Class Library
AlertWithError Method (error)

Returns an alert initialized from information in an error object.

Original signature is '+ (NSAlert *)alertWithError:(NSError *)error'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSAlert AlertWithError(
	NSError error
Public Shared Function AlertWithError ( _
	error As NSError _
) As NSAlert
static NSAlert^ AlertWithError(
	NSError^ error
error (NSError)
Error information to display.
Return Value
Initialized alert.
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)