预览) (MessageAttachments 元素

配置要在事件上 OnMessageReadWithCustomAttachment 激活的基于事件的加载项。

外接程序类型: 邮件

仅在以下 VersionOverrides 架构中有效:

  • 邮件 1.1

有关详细信息,请参阅仅加载 项清单中的版本替代。

语法

<ExtensionPoint xsi:type="LaunchEvent">
  <LaunchEvents>
    <LaunchEvent Type="OnMessageReadWithCustomAttachment" FunctionName="onMessageReadWithCustomAttachmentHandler">
      <MessageAttachments>
        <MessageAttachment AttachmentExtension="xml"/>
        <MessageAttachment AttachmentExtension="json"/>
      </MessageAttachments>
    </LaunchEvent>
  </LaunchEvents>
  <!-- Identifies the runtime to be used (also referenced by the Runtime element). -->
  <SourceLocation resid="WebViewRuntime.Url"/>
</ExtensionPoint>

包含于

  • LaunchEvent (Type 当属性设置为 OnMessageReadWithCustomAttachment) 时

Attributes

无。

子元素

元素 必需 说明
MessageAttachment 是 将加载项配置为在事件时 OnMessageReadWithCustomAttachment 激活。 在清单中最多可以指定两个 <MessageAttachment> 元素。

另请参阅