Delegate WebSocketServer.WebSocketOpenedEventhandler
- 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 opened.
public delegate void WebSocketServer.WebSocketOpenedEventhandler(object sender, WebSocketOpenedEventArgs e)
Parameters
sender
objectThe proximity device that received the message.
e
WebSocketOpenedEventArgsThe opened event data that were passed to the event handler.
- Extension Methods
Constructors
WebSocketOpenedEventhandler(object, IntPtr)
public WebSocketOpenedEventhandler(object @object, IntPtr method)
Parameters
Methods
BeginInvoke(object, WebSocketOpenedEventArgs, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(object sender, WebSocketOpenedEventArgs e, AsyncCallback callback, object @object)
Parameters
sender
objecte
WebSocketOpenedEventArgscallback
AsyncCallbackobject
object
Returns
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameters
result
IAsyncResult
Invoke(object, WebSocketOpenedEventArgs)
public virtual void Invoke(object sender, WebSocketOpenedEventArgs e)
Parameters
sender
objecte
WebSocketOpenedEventArgs