MessageReceivedEvent Property

Lidgren.Network

Collapse imageExpand ImageCopy imageCopyHover image
Signalling event which can be waited on to determine when a message is queued for reading. Note that there is no guarantee that after the event is signaled the blocked thread will find the message in the queue. Other user created threads could be preempted and dequeue the message before the waiting thread wakes up.

Namespace: Lidgren.Network
Assembly: Lidgren.Network (in Lidgren.Network.dll) Version: 2012.1.7.0 (2012.1.7.0)

Syntax

C#
public AutoResetEvent MessageReceivedEvent { get; }
Visual Basic
Public ReadOnly Property MessageReceivedEvent As AutoResetEvent
	Get
Visual C++
public:
property AutoResetEvent^ MessageReceivedEvent {
	AutoResetEvent^ get ();
}

See Also