Share via


Classe EventInfos

Contains a collection of EventInfo objects. The run-time engine exposes an EventInfos collection on all containers in the package hierarchy. The collection that a task receives is a reference to EventInfos collection on the TaskHost that is wrapping the task. Other containers' EventInfos collections contain aggregated contents of their children’s EventInfos collections. This class cannot be inherited.

Espace de noms :  Microsoft.SqlServer.Dts.Runtime
Assembly :  Microsoft.SqlServer.ManagedDTS (dans Microsoft.SqlServer.ManagedDTS.dll)

Syntaxe

'Déclaration
Public NotInheritable Class EventInfos _
    Inherits DTSReadOnlyCollectionBase
'Utilisation
Dim instance As EventInfos
public sealed class EventInfos : DTSReadOnlyCollectionBase
public ref class EventInfos sealed : public DTSReadOnlyCollectionBase
[<SealedAttribute>]
type EventInfos =  
    class
        inherit DTSReadOnlyCollectionBase
    end
public final class EventInfos extends DTSReadOnlyCollectionBase

Notes

The EventInfos collection is used to hold custom events and events that you want the task to raise during execution. When creating a custom task, use this class to add your own custom events to the runtime.

Hiérarchie d'héritage

System. . :: . .Object
  Microsoft.SqlServer.Dts.Runtime. . :: . .DTSReadOnlyCollectionBase
    Microsoft.SqlServer.Dts.Runtime..::..EventInfos

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.