ChannelFactoryBase<TChannel>.ValidateCreateChannel 方法

定義

確認通道處理站已開啟,而且準備好要建立通道。

protected:
 void ValidateCreateChannel();
protected void ValidateCreateChannel ();
member this.ValidateCreateChannel : unit -> unit
Protected Sub ValidateCreateChannel ()

例外狀況

通訊物件處於 ClosingClosed 狀態中。

通訊物件處於 Faulted 狀態中。

目前的通道處理站不在 Opened 狀態下。

備註

這個方法會擲回所列出的其中一個例外狀況,並根據表格中所列的順序檢查條件。

適用於