共用方式為


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 方法對指定的遠端對等進行訂用帳戶。

適用於