ContactManager.SubscriptionListChanged 事件

定义

在订阅的联系人列表发生更改时引发。Raised when the list of subscribed contacts changes.

public:
 event EventHandler<System::Net::PeerToPeer::Collaboration::SubscriptionListChangedEventArgs ^> ^ SubscriptionListChanged;
[add: System.Security.SecurityCritical]
[remove: System.Security.SecurityCritical]
public event EventHandler<System.Net.PeerToPeer.Collaboration.SubscriptionListChangedEventArgs> SubscriptionListChanged;
member this.SubscriptionListChanged : EventHandler<System.Net.PeerToPeer.Collaboration.SubscriptionListChangedEventArgs> 
Public Custom Event SubscriptionListChanged As EventHandler(Of SubscriptionListChangedEventArgs) 
属性

异常

已释放此对象。The object has been disposed.

注解

由于订阅是按用户而非按进程或按应用程序域进行的, 因此在主机上运行的其他应用程序也可能导致引发此事件。Since subscriptions are per user and not per process or per application domain, another application running on the host may also cause this event to be raised.

此事件需要PermissionStateUnrestrictedThis event requires a PermissionState of Unrestricted.

适用于

另请参阅