语言

ContactManager.ApplicationChanged 事件

定义

每当PeerApplication与中PeerContact某个ContactManager关联的项发生更改时引发。

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

事件类型

属性

例外

已释放调用对象。

注解

此方法仅返回由呼叫对等方联系人发布的应用程序。

在引发此事件之前,远程对等方的当前用户必须订阅远程对等方的协作事件。 订阅是通过 Subscribe 该方法完成的。

此事件需要一个 PermissionState 。Unrestricted

适用于

另请参阅