Port..::..WaitMsg Method
Receive message from 'port'. If there is no message in the 'port', the calling
thread will be blocked until it receives a message or a specified amount of
time elapses.
Namespace:
UAOOI.ProcessObserver.RealTime.ProcessesAssembly: RealTime (in RealTime.dll)
Syntax
Public Function WaitMsg ( _ callingMonitor As Object, _ <OutAttribute> ByRef mess As IEnvelope, _ timeOut As Integer _ ) As Boolean
public: bool^ WaitMsg( Object^ callingMonitor, [OutAttribute] IEnvelope^% mess, int^ timeOut )
Parameters
- callingMonitor
- Type: Object
TODO: add some description
- mess
- Type: UAOOI.ProcessObserver.RealTime.Processes..::..IEnvelope%
UMessage removed from the beginning of the port Queue
- timeOut
- Type: Int32
The number of milliseconds to wait before this method returns. 0 means wait forever.