PeerContact.OnSubscribeCompleted(SubscribeCompletedEventArgs) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
引發 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 執行其他工作。
給繼承者的注意事項
衍生類別必須呼叫這個方法的基類實作,以便註冊的委派接收事件。