Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
将通知发送到与给定名称匹配的所有队列。
public virtual ul_u_long SendNotification( const ul_wchar * queueName, const ul_wchar * eventName, const ul_wchar * parameters )
queueName 目标队列名称(或 "*")。
eventName 通知的标识。
parameters 可选参数选项列表。
发送的通知数。(匹配队列的数量)
这包括当前连接中任何此类队列。此调用不会阻塞。使用特殊队列名称 "*" 以发送到所有队列。给定的事件名称不需要与任何系统或用户定义的事件对应;传递它仅仅是为读取时标识通知,并且它只对发送者和接收者有意义。
这些 parameters 变量会指定分号分隔的 "名称=值" 对选项列表。在读取通知后,参数值使用 GetNotificationParameter() 读取。