MonobjcMonobjc Documented Class Library
ExecuteAppleEventError Method (event, errorInfo)
NamespacesMonobjc.FoundationNSAppleScriptExecuteAppleEventError(NSAppleEventDescriptor, NSDictionary%)

Executes an Apple event in the context of the receiver, as a means of allowing the application to invoke a handler in the script.

Original signature is '- (NSAppleEventDescriptor *)executeAppleEvent:(NSAppleEventDescriptor *)event error:(NSDictionary **)errorInfo'

Available in Mac OS X v10.2 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSAppleEventDescriptor ExecuteAppleEventError(
	NSAppleEventDescriptor event,
	out NSDictionary errorInfo
)
Public Overridable Function ExecuteAppleEventError ( _
	event As NSAppleEventDescriptor, _
	<OutAttribute> ByRef errorInfo As NSDictionary _
) As NSAppleEventDescriptor
public:
virtual NSAppleEventDescriptor^ ExecuteAppleEventError(
	NSAppleEventDescriptor^ event, 
	[OutAttribute] NSDictionary^% errorInfo
)
Parameters
event (NSAppleEventDescriptor)
The Apple event to execute.
errorInfo (NSDictionary%)
On return, if an error occurs, a pointer to an error information dictionary.
Return Value
The result of executing the event, or nil if an error occurs.
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.Foundation (Module: Monobjc.Foundation)