Creates a notification with information, and posts it to the receiver.
Original signature is '- (void)postNotificationName:(NSString *)notificationName object:(NSString *)notificationSender userInfo:(NSDictionary *)userInfo options:(NSUInteger)notificationOptions'
Available in Mac OS X v10.3 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual void PostNotificationNameObjectUserInfoOptions( NSString notificationName, NSString notificationSender, NSDictionary userInfo, NSNotificationPostingBehavior notificationOptions )
Public Overridable Sub PostNotificationNameObjectUserInfoOptions ( _ notificationName As NSString, _ notificationSender As NSString, _ userInfo As NSDictionary, _ notificationOptions As NSNotificationPostingBehavior _ )
public: virtual void PostNotificationNameObjectUserInfoOptions( NSString^ notificationName, NSString^ notificationSender, NSDictionary^ userInfo, NSNotificationPostingBehavior notificationOptions )
Parameters
- notificationName (NSString)
- Name of the notification to post. Must not be nil.
- notificationSender (NSString)
- Sender of the notification. May be nil.
- userInfo (NSDictionary)
- Dictionary containing additional information. May be nil.
- notificationOptions (NSNotificationPostingBehavior)
- Specifies how the notification is posted to the task and when to deliver it to its observers. See “Notification Posting Behavior” for details.
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)