ServiceDescriptionBaseCollection.OnClear 方法

定義

清除 ServiceDescriptionBaseCollection 執行個體的內容。

protected:
 override void OnClear();
protected override void OnClear ();
override this.OnClear : unit -> unit
Protected Overrides Sub OnClear ()

備註

這個方法旨在覆寫,以在清除衍生集合的內容時執行其他進程。 這個受保護的方法只能透過這個類別或衍生類別來存取。

適用於