预览) (MessageAttachment 元素

配置要在事件上 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>

包含于

属性

属性 必需 说明
AttachmentExtension 是 指定发生事件的邮件 OnMessageReadWithCustomAttachment 中包含的附件的文件扩展名。 文件扩展名值限制为 50 个字符,并且不能包含句点。

子元素

无。

另请参阅