共用方式為


ServiceProxy<TService>.CloseChannel(Boolean) Method

Definition

Closes a validated service channel.

protected:
 virtual void CloseChannel(bool forceClose);
protected virtual void CloseChannel (bool forceClose);
abstract member CloseChannel : bool -> unit
override this.CloseChannel : bool -> unit
Protected Overridable Sub CloseChannel (forceClose As Boolean)

Parameters

forceClose
Boolean

true if the service channel should be forced to close; otherwise, false.

Applies to