PeerContact.OnSubscribeCompleted(SubscribeCompletedEventArgs) 方法

定义

引发 SubscribeCompleted 事件。

protected:
 void OnSubscribeCompleted(System::Net::PeerToPeer::Collaboration::SubscribeCompletedEventArgs ^ e);
protected void OnSubscribeCompleted (System.Net.PeerToPeer.Collaboration.SubscribeCompletedEventArgs e);
member this.OnSubscribeCompleted : System.Net.PeerToPeer.Collaboration.SubscribeCompletedEventArgs -> unit
Protected Sub OnSubscribeCompleted (e As SubscribeCompletedEventArgs)

参数

注解

从此类继承的类可以重写此方法,以在事件发生时 SubscribeCompleted 执行其他任务。

继承者说明

派生类必须调用此方法的基类实现,以便注册委托接收 事件。

适用于

另请参阅