Interface IEventProvider<T>
Defines methods to enumerate, retrieve and locate published event data.
Namespace: Microsoft.SqlServer.XEvent.Linq
Assembly: Microsoft.SqlServer.XEvent.Linq (em Microsoft.SqlServer.XEvent.Linq.dll)
Sintaxe
'Declaração
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 não dá suporte a tipos e métodos genéricos.
Parâmetros de tipo
- T
The PublishedEvent.
O tipo IEventProvider<T> expõe os membros a seguir.
Propriedades
Nome | Descrição | |
---|---|---|
MetadataGenerations | Gets a collection of all event metadata used by the IEventProvider. |
Início
Métodos
Nome | Descrição | |
---|---|---|
CreateQuery | (Herdado de IQueryProvider.) | |
Dispose | (Herdado de IDisposable.) | |
Execute | (Herdado de IQueryProvider.) | |
GetEnumerator | (Herdado 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. |
Início