XEventFileSerializer.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 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.