MonobjcMonobjc Documented Class Library
EnqueueNotificationPostingStyleCoalesceMaskForModes Method (notification, postingStyle, coalesceMask, modes)
NamespacesMonobjc.FoundationNSNotificationQueueEnqueueNotificationPostingStyleCoalesceMaskForModes(NSNotification, NSPostingStyle, NSUInteger, NSArray)

Adds a notification to the notification queue with a specified posting style, criteria for coalescing, and runloop mode.

Original signature is '- (void)enqueueNotification:(NSNotification *)notification postingStyle:(NSPostingStyle)postingStyle coalesceMask:(NSUInteger)coalesceMask forModes:(NSArray *)modes'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void EnqueueNotificationPostingStyleCoalesceMaskForModes(
	NSNotification notification,
	NSPostingStyle postingStyle,
	NSUInteger coalesceMask,
	NSArray modes
)
Public Overridable Sub EnqueueNotificationPostingStyleCoalesceMaskForModes ( _
	notification As NSNotification, _
	postingStyle As NSPostingStyle, _
	coalesceMask As NSUInteger, _
	modes As NSArray _
)
public:
virtual void EnqueueNotificationPostingStyleCoalesceMaskForModes(
	NSNotification^ notification, 
	NSPostingStyle postingStyle, 
	NSUInteger coalesceMask, 
	NSArray^ modes
)
Parameters
notification (NSNotification)
The notification to add to the queue.
postingStyle (NSPostingStyle)
The posting style for the notification. The posting style indicates when the notification queue should post the notification to its notification center.
coalesceMask (NSUInteger)
A mask indicating what criteria to use when matching attributes of notification to attributes of notifications in the queue. The mask is created by combining any of the constants NSNotificationNoCoalescing, NSNotificationCoalescingOnName, and NSNotificationCoalescingOnSender.
modes (NSArray)
The list of modes the notification may be posted in. The notification queue will only post the notification to its notification center if the run loops is in one of the modes provided in the array. May be nil, in which case it defaults to NSDefaultRunLoopMode.
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)