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.

C# | Visual Basic | Visual 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 )

- event (NSAppleEventDescriptor)
- The Apple event to execute.
- errorInfo (NSDictionary%)
- On return, if an error occurs, a pointer to an error information dictionary.

The result of executing the event, or nil if an error occurs.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)