Back to product page

DisconnectedEvent event


Fires when user disconnects from wodWebServer.NET.

Syntax

  • C#
  • VB.NET
delegate void DisconnectedDelegate(object Sender, WebConnectedArgs Args);
The DisconnectedEvent(Args.User) syntax has these parts:
Args.UserWebUser object. Reference to the user who is connected to the server.

Delegate Sub DisconnectedDelegate(ByVal Sender as Object, ByVal Args As WebConnectedArgs)
The DisconnectedEvent(Args.User) syntax has these parts:
Args.UserWebUser object. Reference to the user who is connected to the server.

Remarks

This event is fired when user closes connection with the server. At this point, he is already removed from Users collection, but you still have one last chance to access information stored in his instance of WebUser object.

Platforms

Windows