MonobjcMonobjc Documented Class Library
AppleEventWithEventClassEventIDTargetDescriptorReturnIDTransactionID Method (eventClass, eventID, addressDescriptor, returnID, transactionID)
NamespacesMonobjc.FoundationNSAppleEventDescriptorAppleEventWithEventClassEventIDTargetDescriptorReturnIDTransactionID(UInt32, UInt32, NSAppleEventDescriptor, Int16, Int32)

Creates a descriptor that represents an Apple event, initialized according to the specified information.

Original signature is '+ (NSAppleEventDescriptor *)appleEventWithEventClass:(AEEventClass)eventClass eventID:(AEEventID)eventID targetDescriptor:(NSAppleEventDescriptor *)addressDescriptor returnID:(AEReturnID)returnID transactionID:(AETransactionID)transactionID'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSAppleEventDescriptor AppleEventWithEventClassEventIDTargetDescriptorReturnIDTransactionID(
	uint eventClass,
	uint eventID,
	NSAppleEventDescriptor addressDescriptor,
	short returnID,
	int transactionID
)
Public Shared Function AppleEventWithEventClassEventIDTargetDescriptorReturnIDTransactionID ( _
	eventClass As UInteger, _
	eventID As UInteger, _
	addressDescriptor As NSAppleEventDescriptor, _
	returnID As Short, _
	transactionID As Integer _
) As NSAppleEventDescriptor
public:
static NSAppleEventDescriptor^ AppleEventWithEventClassEventIDTargetDescriptorReturnIDTransactionID(
	unsigned int eventClass, 
	unsigned int eventID, 
	NSAppleEventDescriptor^ addressDescriptor, 
	short returnID, 
	int transactionID
)
Parameters
eventClass (UInt32)
The event class to be set in the returned descriptor.
eventID (UInt32)
The event ID to be set in the returned descriptor.
addressDescriptor (NSAppleEventDescriptor)
A pointer to a descriptor that identifies the target application for the Apple event. Passing nil results in an Apple event descriptor that has no keyAddressAttr attribute (it is valid for an Apple event to have no target address attribute).
returnID (Int16)
The return ID to be set in the returned descriptor. If you pass a value of kAutoGenerateReturnID, the Apple Event Manager assigns the created Apple event a return ID that is unique to the current session. If you pass any other value, the Apple Event Manager assigns that value for the ID.
transactionID (Int32)
The transaction ID to be set in the returned descriptor. A transaction is a sequence of Apple events that are sent back and forth between client and server applications, beginning with the client’s initial request for a service. All Apple events that are part of a transaction must have the same transaction ID. You can specify kAnyTransactionID if the Apple event is not one of a series of interdependent Apple events.
Return Value
A descriptor for an Apple event, initialized according to the specified parameter values, 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)