HttpServerChannel.StopListening(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Should always be null
for HttpChannel.
Implements
Remarks
Use this method to stop listening on a channel. To restart listening, use the StartListening method.
If your channel uses a dynamically assigned port number, your port number might change when you restart listening.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.