语言

IDeliveryExtension.Deliver(Notification) 方法

定义

根据通知内容向用户发送报告通知。

public:
 bool Deliver(Microsoft::ReportingServices::Interfaces::Notification ^ notification);
public bool Deliver(Microsoft.ReportingServices.Interfaces.Notification notification);
abstract member Deliver : Microsoft.ReportingServices.Interfaces.Notification -> bool
Public Function Deliver (notification As Notification) As Boolean

参数

notification
Notification

包含 Notification 交付扩展为传递报告所需的信息的对象。

返回

一个 Boolean 表示投递是否成功的数值。

注解

该 Deliver 方法使交付扩展执行参数定义 notification 中向用户传递报告通知所需的任务。 该方法仅用于同步使用。

在返回方法之前,交付扩展必须更新并保存 Status 传递给方法的对象和 Retry 属性 Notification 。

你的 Deliver 方法应返回 true ,显示该通知是否成功送达; false 如果通知失败。 当设置为 false时,只要 Retry 通知对象 true的属性设置为 ,报告服务器会重新尝试该通知,前提是尚未达到最大重试次数。

适用于