ChannelDispatcher.OnOpening 方法

定義

檢查通道發送器是否已附加至主機。Checks whether the channel dispatcher is attached to a host.

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

例外狀況

主機為 nullThe host is null.

備註

開啟時,通道發送器必須與非 null 的服務主機產生關聯。The channel dispatcher must be associated with a non-null service host on opening.

適用於