Share via


IEventSerializer.SerializeObjectData Method

Definition

Serializes event data to an output stream.

public:
 void SerializeObjectData(Microsoft::SqlServer::XEvent::IMetadataGeneration ^ generation, IntPtr rawEvent, System::UInt32 rawEventLength);
public void SerializeObjectData (Microsoft.SqlServer.XEvent.IMetadataGeneration generation, IntPtr rawEvent, uint rawEventLength);
abstract member SerializeObjectData : Microsoft.SqlServer.XEvent.IMetadataGeneration * nativeint * uint32 -> unit
Public Sub SerializeObjectData (generation As IMetadataGeneration, rawEvent As IntPtr, rawEventLength As UInteger)

Parameters

generation
Microsoft.SqlServer.XEvent.IMetadataGeneration

The metadata generation containing the metadata for the serialized published event.

rawEvent
IntPtr

nativeint

Binary representation of a PublishedEvent.

rawEventLength
UInt32

Length of raw event data in bytes.

Applies to