Delegate WebSocketServer.WebSocketClosedEventhandler
- Namespace
- System.Net.WebSockets.Server
- Assembly
- System.Net.WebSockets.dll
Describes the method that will handle the event that's fired when the WebSocket is closed.
public delegate void WebSocketServer.WebSocketClosedEventhandler(object sender, WebSocketClosedEventArgs e)
Parameters
sender
objectThe proximity device that received the message.
e
WebSocketClosedEventArgsThe closed event data that were passed to the event handler.
- Extension Methods
Constructors
WebSocketClosedEventhandler(object, IntPtr)
public WebSocketClosedEventhandler(object @object, IntPtr method)
Parameters
Methods
BeginInvoke(object, WebSocketClosedEventArgs, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(object sender, WebSocketClosedEventArgs e, AsyncCallback callback, object @object)
Parameters
sender
objecte
WebSocketClosedEventArgscallback
AsyncCallbackobject
object
Returns
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameters
result
IAsyncResult
Invoke(object, WebSocketClosedEventArgs)
public virtual void Invoke(object sender, WebSocketClosedEventArgs e)
Parameters
sender
objecte
WebSocketClosedEventArgs