共用方式為


requestClose element

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>

See also

asyncPrintUIRequest

requestOpen