The optional requestClose element is used to close an event notification message on the client computer.
The requestClose element is defined in the asyncui namespace at this URI:
https://schemas.microsoft.com/2003/print/asyncui/v1/request
此资源可能在某些语言和国家/地区不可用。
Usage
<requestClose/>
Attributes
没有属性。
Child elements
没有子元素。
Parent elements
| Element | Description |
|---|---|
| asyncPrintUIRequest | 描述打印机驱动程序发出的请求以在客户端计算机上创建消息的必需元素。 |
Examples
The following code example shows how to close an event notification after a button-click on the message box has been captured for the OK button.
<?xml version="1.0" ?>
<asyncPrintUIResponse
xmlns="https://schemas.microsoft.com/2003/print/asyncui/v1/response">
<v1>
<requestClose>
<messageBoxUI>
<buttonID>IDOK</buttonID>
</messageBoxUI>
</requestClose>
</v1>
</asyncPrintUIResponse>