Sdílet prostřednictvím


IEventSerializer.SerializeObjectData Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Serializes event data to an output stream.

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

Syntax

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

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

Parameters

  • rawEvent
    Type: System.IntPtr
    Binary representation of a PublishedEvent.
  • rawEventLength
    Type: System.UInt32
    Length of raw event data in bytes.

See Also

Reference

IEventSerializer Interface

Microsoft.SqlServer.XEvent.Linq Namespace