MonobjcMonobjc Documented Class Library
EventDidFailWithError Method (event, error)
NamespacesMonobjc.ScriptingBridgeISBApplicationDelegateEventDidFailWithError(IntPtr, NSError)

Sent by an SBApplication object when a target application returns an error Apple event.

Original signature is '- (void)eventDidFail:(const AppleEvent *)event withError:(NSError *)error'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
void EventDidFailWithError(
	IntPtr event,
	NSError error
)
Sub EventDidFailWithError ( _
	event As IntPtr, _
	error As NSError _
)
void EventDidFailWithError(
	IntPtr event, 
	NSError^ error
)
Parameters
event (IntPtr)
A pointer to the Apple event sent to the target application causing the error.
error (NSError)
An object containing information about the error Apple event. Specific information may be included in the useInfo dictionary of the error object. See “User Info Dictionary Keys” for a list of possible keys for this dictionary.
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.ScriptingBridge (Module: Monobjc.ScriptingBridge)