MonobjcMonobjc Documented Class Library
AlertWithError Method (error)
NamespacesMonobjc.AppKitNSAlertAlertWithError(NSError)

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
public:
static NSAlert^ AlertWithError(
	NSError^ error
)
Parameters
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)