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