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 个字符,并且不能包含句点。 |
子元素
无。