共用方式為


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 執行其他工作。

給繼承者的注意事項

衍生類別必須呼叫這個方法的基類實作,以便註冊的委派接收事件。

適用於

另請參閱