IEventProvider<T>.SerializeEvent(IEventSerializer, T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Serializes an event into the provided serialization context.
public:
void SerializeEvent(Microsoft::SqlServer::XEvent::Linq::IEventSerializer ^ serializationContext, T serializableEvent);
public void SerializeEvent (Microsoft.SqlServer.XEvent.Linq.IEventSerializer serializationContext, T serializableEvent);
abstract member SerializeEvent : Microsoft.SqlServer.XEvent.Linq.IEventSerializer * 'T -> unit
Public Sub SerializeEvent (serializationContext As IEventSerializer, serializableEvent As T)
Parameters
- serializationContext
- IEventSerializer
The serializationContext.
- serializableEvent
- T
The serializableEvent.