IEventSerializer.SerializeObjectData 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 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.