IEventProvider<T>.SerializeEvent-Methode
Serializes an event into the provided serialization context.
Namespace: Microsoft.SqlServer.XEvent.Linq
Assembly: Microsoft.SqlServer.XEvent.Linq (in Microsoft.SqlServer.XEvent.Linq.dll)
Syntax
'Declaration
Sub SerializeEvent ( _
serializationContext As IEventSerializer, _
serializableEvent As T _
)
'Usage
Dim instance As IEventProvider
Dim serializationContext As IEventSerializer
Dim serializableEvent As T
instance.SerializeEvent(serializationContext, _
serializableEvent)
void SerializeEvent(
IEventSerializer serializationContext,
T serializableEvent
)
void SerializeEvent(
IEventSerializer^ serializationContext,
T serializableEvent
)
abstract SerializeEvent :
serializationContext:IEventSerializer *
serializableEvent:'T -> unit
function SerializeEvent(
serializationContext : IEventSerializer,
serializableEvent : T
)
Parameter
- serializationContext
Typ: Microsoft.SqlServer.XEvent.Linq.IEventSerializer
The serializationContext.
- serializableEvent
Typ: T
The serializableEvent.