IpcServerChannel.StopListening(Object) Method

Definition

Instructs the current channel to stop listening for requests.

public:
 virtual void StopListening(System::Object ^ data);
public void StopListening (object data);
abstract member StopListening : obj -> unit
override this.StopListening : obj -> unit
Public Sub StopListening (data As Object)

Parameters

data
Object

An object that specifies an initialization state, or null, if you do not want to pass a specific state to the channel.

Implements

Remarks

Use this method to stop listening on a channel. To restart listening, use the StartListening method.

The data object can be used to pass a specific initialization state to the channel. If you do not want to pass a specific state to the channel, pass null as the data parameter value.

Applies to