Share via


XEventFileSerializer.SerializeObjectData Method

Definition

Serializes the event data to an output stream.

public:
 virtual void SerializeObjectData(Microsoft::SqlServer::XEvent::IMetadataGeneration ^ generation, IntPtr rawEvent, System::UInt32 rawEventLength);
public virtual void SerializeObjectData (Microsoft.SqlServer.XEvent.IMetadataGeneration generation, IntPtr rawEvent, uint rawEventLength);
abstract member SerializeObjectData : Microsoft.SqlServer.XEvent.IMetadataGeneration * nativeint * uint32 -> unit
override this.SerializeObjectData : Microsoft.SqlServer.XEvent.IMetadataGeneration * nativeint * uint32 -> unit
Public Overridable 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

The binary representation of a PublishedEvent object.

rawEventLength
UInt32

The length of raw event data in bytes.

Implements

Applies to