語言

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傳遞給方法的物件與RetryNotification屬性。

你的 Deliver 方法應該會回傳 true ,顯示該通知是否成功送達; false 如果通知失敗。 當 設定為 false時,只要 Retry 通知物件的屬性設為 true,只要尚未達到最大重試次數,報告伺服器會重新嘗試該通知。

適用於