Delegate MessageReceivedEventHandler
- Namespace
- System.Net.WebSockets
- Assembly
- System.Net.WebSockets.dll
Describes the method that will handle the event that's fired when a message that has been subscribed to has been received.
public delegate void MessageReceivedEventHandler(object sender, MessageReceivedEventArgs e)
Parameters
sender
objectThe proximity device that received the message.
e
MessageReceivedEventArgsThe proximity device that received the message.
- Extension Methods
Constructors
MessageReceivedEventHandler(object, IntPtr)
public MessageReceivedEventHandler(object @object, IntPtr method)
Parameters
Methods
BeginInvoke(object, MessageReceivedEventArgs, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(object sender, MessageReceivedEventArgs e, AsyncCallback callback, object @object)
Parameters
sender
objecte
MessageReceivedEventArgscallback
AsyncCallbackobject
object
Returns
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameters
result
IAsyncResult
Invoke(object, MessageReceivedEventArgs)
public virtual void Invoke(object sender, MessageReceivedEventArgs e)
Parameters
sender
objecte
MessageReceivedEventArgs