NSDistributedNotificationCenter 类

定义

注意

This is not available in iOS.

允许将通知发送到其他任务中的对象。

[System.Obsolete("This is not available in iOS.")]
public class NSDistributedNotificationCenter : Foundation.NSNotificationCenter
[Foundation.Register("NSDistributedNotificationCenter", true)]
public class NSDistributedNotificationCenter : Foundation.NSNotificationCenter
type NSDistributedNotificationCenter = class
    inherit NSNotificationCenter
继承
NSDistributedNotificationCenter
属性

构造函数

NSDistributedNotificationCenter()
已过时.

允许将通知发送到其他任务中的对象。

NSDistributedNotificationCenter(IntPtr)
已过时.

允许将通知发送到其他任务中的对象。

NSDistributedNotificationCenter(NSObjectFlag)
已过时.

允许将通知发送到其他任务中的对象。

属性

ClassHandle
已过时.

允许将通知发送到其他任务中的对象。

DefaultCenter
已过时.

允许将通知发送到其他任务中的对象。

NSLocalNotificationCenterType
已过时.

允许将通知发送到其他任务中的对象。

Suspended
已过时.

允许将通知发送到其他任务中的对象。

方法

AddObserver(NSObject, Selector, String, NSObject)
已过时.

允许将通知发送到其他任务中的对象。

AddObserver(NSObject, Selector, String, String)
已过时.

允许将通知发送到其他任务中的对象。

AddObserver(NSObject, Selector, String, String, NSNotificationSuspensionBehavior)
已过时.

允许将通知发送到其他任务中的对象。

GetDefaultCenter()
已过时.

允许将通知发送到其他任务中的对象。

PostNotificationName(String, String)
已过时.

允许将通知发送到其他任务中的对象。

PostNotificationName(String, String, NSDictionary)
已过时.

允许将通知发送到其他任务中的对象。

PostNotificationName(String, String, NSDictionary, Boolean)
已过时.

允许将通知发送到其他任务中的对象。

PostNotificationName(String, String, NSDictionary, NSNotificationFlags)
已过时.

允许将通知发送到其他任务中的对象。

RemoveObserver(NSObject, String, NSObject)
已过时.

允许将通知发送到其他任务中的对象。

RemoveObserver(NSObject, String, String)
已过时.

允许将通知发送到其他任务中的对象。

适用于