Interfaccia IEventProvider<T>
Defines methods to enumerate, retrieve and locate published event data.
Spazio dei nomi Microsoft.SqlServer.XEvent.Linq
Assembly: Microsoft.SqlServer.XEvent.Linq (in Microsoft.SqlServer.XEvent.Linq.dll)
Sintassi
'Dichiarazione
Public Interface IEventProvider(Of T As PublishedEvent) _
Inherits IEnumerable(Of T), IEnumerable, IQueryProvider, _
IDisposable
'Utilizzo
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 non supporta i metodi e i tipi generici.
Parametri di tipo
- T
The PublishedEvent.
Nel tipo IEventProvider<T> sono esposti i membri seguenti.
Proprietà
Nome | Descrizione | |
---|---|---|
MetadataGenerations | Gets a collection of all event metadata used by the IEventProvider. |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
CreateQuery | Ereditato da IQueryProvider. | |
Dispose | Ereditato da IDisposable. | |
Execute | Ereditato da IQueryProvider. | |
GetEnumerator | Ereditato da 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 alto