Interfaz IEventProvider<T>
Defines methods to enumerate, retrieve and locate published event data.
Espacio de nombres: Microsoft.SqlServer.XEvent.Linq
Ensamblado: Microsoft.SqlServer.XEvent.Linq (en Microsoft.SqlServer.XEvent.Linq.dll)
Sintaxis
'Declaración
Public Interface IEventProvider(Of T As PublishedEvent) _
Inherits IEnumerable(Of T), IEnumerable, IQueryProvider, _
IDisposable
'Uso
Dim instance As IEventProvider(Of T)
public interface IEventProvider<T> : IEnumerable<T>,
IEnumerable, IQueryProvider, IDisposable
where T : PublishedEvent
generic<typename T>
where T : PublishedEvent
public interface class IEventProvider : IEnumerable<T>,
IEnumerable, IQueryProvider, IDisposable
type IEventProvider<'T when 'T : PublishedEvent> =
interface
interface IEnumerable<'T>
interface IEnumerable
interface IQueryProvider
interface IDisposable
end
JScript no admite tipos y métodos genéricos.
Parámetros de tipo
- T
The PublishedEvent.
El tipo IEventProvider<T> expone los siguientes miembros.
Propiedades
Nombre | Descripción | |
---|---|---|
MetadataGenerations | Gets a collection of all event metadata used by the IEventProvider. |
Arriba
Métodos
Nombre | Descripción | |
---|---|---|
CreateQuery | (Se hereda de IQueryProvider.) | |
Dispose | (Se hereda de IDisposable.) | |
Execute | (Se hereda de IQueryProvider.) | |
GetEnumerator | (Se hereda de IEnumerable<T>.) | |
RetrieveEvent | Gets an event at the specified event location without changing the point of enumeration. | |
SerializeEvent | Serializes an event into the provided serialization context. | |
Stop | Stops consumption of event data for event providers that obtain event data from streaming sources. |
Arriba