ProcessProtocolHandler.StopListenerChannel(Int32, Boolean) 方法
定义
停止指定的进程协议处理程序。Stops the specified process protocol handler.
此 API 支持产品基础结构,不能在代码中直接使用。
public:
abstract void StopListenerChannel(int listenerChannelId, bool immediate);
public abstract void StopListenerChannel (int listenerChannelId, bool immediate);
abstract member StopListenerChannel : int * bool -> unit
Public MustOverride Sub StopListenerChannel (listenerChannelId As Integer, immediate As Boolean)
参数
- listenerChannelId
- Int32
侦听器通道的回调。The callback for the listener channel.
- immediate
- Boolean
true 表示立即停止协议;否则为 false。true to stop the protocol immediately; otherwise, false.
注解
StopListenerChannel 在 .NET Framework 3.5 中引入。StopListenerChannel is introduced in the .NET Framework 3.5. 有关详细信息,请参见版本和依赖关系。For more information, see Versions and Dependencies.