XEventFileSerializer.SerializeObjectData Method

Serializes the event data to an output stream.

Namespace:  Microsoft.SqlServer.XEvent.Linq
Assembly:  Microsoft.SqlServer.XEvent.Linq (in Microsoft.SqlServer.XEvent.Linq.dll)

Syntax

'Declaration
Public Overridable Sub SerializeObjectData ( _
    generation As IMetadataGeneration, _
    rawEvent As IntPtr, _
    rawEventLength As UInteger _
)
'Usage
Dim instance As XEventFileSerializer 
Dim generation As IMetadataGeneration 
Dim rawEvent As IntPtr 
Dim rawEventLength As UInteger

instance.SerializeObjectData(generation, _
    rawEvent, rawEventLength)
public virtual void SerializeObjectData(
    IMetadataGeneration generation,
    IntPtr rawEvent,
    uint rawEventLength
)
public:
virtual void SerializeObjectData(
    IMetadataGeneration^ generation, 
    IntPtr rawEvent, 
    unsigned int rawEventLength
)
abstract SerializeObjectData : 
        generation:IMetadataGeneration * 
        rawEvent:IntPtr * 
        rawEventLength:uint32 -> unit  
override SerializeObjectData : 
        generation:IMetadataGeneration * 
        rawEvent:IntPtr * 
        rawEventLength:uint32 -> unit
public function SerializeObjectData(
    generation : IMetadataGeneration, 
    rawEvent : IntPtr, 
    rawEventLength : uint
)

Parameters

  • rawEventLength
    Type: System.UInt32
    The length of raw event data in bytes.

Implements

IEventSerializer.SerializeObjectData(IMetadataGeneration, IntPtr, UInt32)

See Also

Reference

XEventFileSerializer Class

Microsoft.SqlServer.XEvent.Linq Namespace