共用方式為


requestOpen 元素

requestOpen 元素是用來在用戶端電腦上開啟事件通知訊息。

requestOpen 元素定義在此 URI 的 asyncui 命名空間中:

https://schemas.microsoft.com/2003/print/asyncui/v1/request

某些語言和國家/地區可能無法使用此資源。

使用方式

<requestOpen>
  child elements
</requestOpen>

屬性

沒有屬性。

子元素

元素 Description
balloonUI 選擇性專案,用來在用戶端計算機上顯示訊息批注方塊。
customUI 選擇性專案,指定要顯示在用戶端電腦上的自定義使用者介面。
messageBoxUI 選擇性專案,用來在用戶端計算機上顯示消息框。

父元素

元素 Description
asyncPrintUIRequest 必要元素,描述印表機驅動程序發出的要求,以在用戶端電腦上建立訊息。

範例

下列程式代碼範例會開啟事件通知訊息。

<?xml version="1.0" ?>
   <asyncPrintUIRequest
    xmlns="https://schemas.microsoft.com/2003/print/asyncui/v1/request">
    <v1>
      <requestOpen>
        <balloonUI iconID="1" resourceDll="IHV.dll">
          <title stringID="1234" resourceDll="IHV.dll" />
          <body stringID="100" resourceDll="IHV.dll">
            <parameter stringID="5" />
            <parameter stringID="1002" resourceDll="IHV.dll" />
          </body>
        </balloonUI>
      </requestOpen>
    </v1>
  </asyncPrintUIRequest>

另請參閱

asyncPrintUIRequest

balloonUI

customUI

messageBoxUI

requestClose