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 方法完成的。

此事件需要 PermissionStateUnrestricted

適用於

另請參閱