PeerContact.OnObjectChanged(ObjectChangedEventArgs) 方法

定义

当远程对等添加、更新或删除 PeerObject 时将引发 ObjectChanged 事件。

protected:
 virtual void OnObjectChanged(System::Net::PeerToPeer::Collaboration::ObjectChangedEventArgs ^ objChangedArgs);
protected virtual void OnObjectChanged (System.Net.PeerToPeer.Collaboration.ObjectChangedEventArgs objChangedArgs);
abstract member OnObjectChanged : System.Net.PeerToPeer.Collaboration.ObjectChangedEventArgs -> unit
override this.OnObjectChanged : System.Net.PeerToPeer.Collaboration.ObjectChangedEventArgs -> unit
Protected Overridable Sub OnObjectChanged (objChangedArgs As ObjectChangedEventArgs)

参数

objChangedArgs
ObjectChangedEventArgs

对象更改的类型,由 ObjectChangedEventArgs 指定。

适用于

另请参阅