PeerObject.ObjectChanged 事件

定义

PeerObject 实例更改时发出信号。

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

事件类型

属性

注解

必须先通过 Subscribe 方法向指定的远程对等方发出订阅,然后才能通过对象更改发出此事件信号。

适用于