IEventProvider<T> Interface
Defines methods to enumerate, retrieve and locate published event data.
Namespace: Microsoft.SqlServer.XEvent.Linq
Assembly: Microsoft.SqlServer.XEvent.Linq (in Microsoft.SqlServer.XEvent.Linq.dll)
Syntax
'Declaration
Public Interface IEventProvider(Of T As PublishedEvent) _
Inherits IEnumerable(Of T), IEnumerable, IQueryProvider, _
IDisposable
'Usage
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 does not support generic types and methods.
Type Parameters
- T
The PublishedEvent.
The IEventProvider<T> type exposes the following members.
Properties
Name | Description | |
---|---|---|
MetadataGenerations | Gets a collection of all event metadata used by the IEventProvider. |
Top
Methods
Name | Description | |
---|---|---|
CreateQuery | (Inherited from IQueryProvider.) | |
Dispose | (Inherited from IDisposable.) | |
Execute | (Inherited from IQueryProvider.) | |
GetEnumerator | (Inherited from 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. |
Top