ICustomReportItem Interface

 

Updated: February 25, 2016

Contains methods and properties to be implemented by custom report item run-time components.

Namespace:   Microsoft.ReportingServices.ReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)

public interface ICustomReportItem

NameDescription
System_CAPS_pubpropertyAction

This API supports the product infrastructure and is not intended to be used directly from your code. Gets the action for the custom report item.

System_CAPS_pubpropertyCustomItem

Sets the custom report item and associated data used by the custom report item run-time component to render a standard report item. Write-only.

System_CAPS_pubpropertyRenderItem

Gets the rendered image of the custom report item.

NameDescription
System_CAPS_pubmethodProcess()

Renders the custom report item and places it in the RenderItem property.

One instance of the class that implements ICustomReportItem is created during each report execution that contains any instances of the corresponding CustomReportItem type. For each instance of a CustomReportItem of the matching type that occurs in the report, CustomItem is set and then Process is called. Since the report server is multithreaded, the class that implements ICustomReportItem should avoid use of static member variables.

The custom report item class will not be installed if a failure occurs while creating the class. Any other failure will cause the entire report execution to fail.

For more information, please see Custom Report Items.

Return to top
Show: