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。
此调用将阻塞直到收到通知或给定等待时期到期。要无限期等待,请将 waitms 参数设置为 UL_READ_WAIT_INFINITE。要取消等待,发送另一通知到给定队列或使用 CancelGetNotification 方法。读取通知后,使用 GetNotificationParameter 方法按名称检索附加参数。