Share via


IEventProvider<T>.SerializeEvent(IEventSerializer, T) Method

Definition

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.

Applies to