編輯

共用方式為


ProcessProtocolHandler.StopListenerChannel(Int32, Boolean) Method

Definition

Stops the specified process protocol handler.

This API supports the product infrastructure and is not intended to be used directly from your code.

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)

Parameters

listenerChannelId
Int32

The callback for the listener channel.

immediate
Boolean

true to stop the protocol immediately; otherwise, false.

Remarks

StopListenerChannel is introduced in the .NET Framework 3.5. For more information, see Versions and Dependencies.

Applies to