ProcessProtocolHandler.StopListenerChannel Method (Int32, Boolean)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Stops the specified process protocol handler.

Namespace:   System.Web.Hosting
Assembly:  System.Web (in System.Web.dll)

public abstract void StopListenerChannel(
	int listenerChannelId,
	bool immediate
)

Parameters

listenerChannelId
Type: System.Int32

The callback for the listener channel.

immediate
Type: System.Boolean

true to stop the protocol immediately; otherwise, false.

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

.NET Framework
Available since 2.0
Return to top
Show: