Back to product page
- Introduction
- License agreement
- Classes
- Enumerations
- Exceptions
- WeOnlyDo.Server.WebServer
- WeOnlyDo.Server.WebHeader
- WeOnlyDo.Server.WebHeaders
- WeOnlyDo.Server.WebRequest
- WeOnlyDo.Server.WebResponse
- WeOnlyDo.Server.WebSessions
- WeOnlyDo.Server.WebSessionVar
- WeOnlyDo.Server.WebSessionVars
- WeOnlyDo.Server.WebUpload
- WeOnlyDo.Server.WebUploads
- WeOnlyDo.Server.WebUser
- WeOnlyDo.Server.WebUsers
- How to get support?
Stop method
Stops WEB server.
Type
VoidSyntax
- C#
- VB.NET
Void Stop();
Void Stop(Boolean Force);
The Stop(Force) syntax has these parts:
Void Stop(Boolean Force);
The Stop(Force) syntax has these parts:
Force | If set to True, will force shutdown. |
Sub Stop()
Sub Stop(ByVal Force As Boolean)
The Stop(Force) syntax has these parts:
Sub Stop(ByVal Force As Boolean)
The Stop(Force) syntax has these parts:
Force | If set to True, will force shutdown. |
Remarks
Stop method will immediately disconnect all connected users and stop accepting any new connections. Further more, Port that is used for listening will be freed and you can use it for some other purpose.If you try to obtain list or snapshot of currently connected users at the time you shut down server, you should do it before you call Stop method, because it will delete list of all users at that time. To start server again, call Start method.