Share via


Close Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Closes the stream attached to this listener context.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Close() () () () Closes the stream attached to this listener context.
Public method Close(Int32) Closes the stream attached to this listener context with the specified value for how long the socket should linger after closing.

Top

See Also

Reference

HttpListenerContext Class

System.Net Namespace