Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
读取事件通知。
public virtual const ul_wchar * GetNotification( const ul_wchar * queueName, ul_u_long waitms )
queueName 要读取的队列;对于缺省连接队列为 NULL。
waitms 返回前的等待(阻塞)时间。
所读取的事件的名称,或者在出错时为 NULL。
此调用将阻塞直到收到通知或给定等待时期到期。要无限期等待,请将 UL_READ_WAIT_INFINITE 传递给 wait_ms。要取消等待,发送另一通知到给定队列或使用 CancelGetNotification()。读取通知后,使用 GetNotificationParameter() 按名称检索附加参数。