PipelineComponent::RegisterEvents Method ()

 

When you are developing a custom data flow component, you override this method to create custom events.

Namespace:   Microsoft.SqlServer.Dts.Pipeline
Assembly:  Microsoft.SqlServer.PipelineHost (in Microsoft.SqlServer.PipelineHost.dll)

public:
virtual void RegisterEvents()

This method is overridden by components that create custom events. Because the custom events declared by a component are not persisted in the package XML, this method is called as the component is loaded into the designer, and at the start of execution.

For more information, see Raising and Defining Events in a Data Flow Component.

The following example shows a component that overrides this method and creates a custom event using the EventInfos collection.

No code example is currently available or this language may not be supported.
Return to top
Show: