ClientBase<TChannel>.Close 方法

定義

導致 ClientBase<TChannel> 物件從目前的狀態轉換為已關閉狀態。Causes the ClientBase<TChannel> object to transition from its current state into the closed state.

public:
 void Close();
public:
 virtual void Close();
public void Close ();
member this.Close : unit -> unit
abstract member Close : unit -> unit
override this.Close : unit -> unit
Public Sub Close ()

實作

備註

如需詳細資訊,請參閱System.ServiceModel.Channels.CommunicationObjectFor more information, see System.ServiceModel.Channels.CommunicationObject.

適用於