XEventFileSerializer.SerializeObjectData Método
Serializes the event data to an output stream.
Espacio de nombres: Microsoft.SqlServer.XEvent.Linq
Ensamblado: Microsoft.SqlServer.XEvent.Linq (en Microsoft.SqlServer.XEvent.Linq.dll)
Sintaxis
'Declaración
Public Overridable Sub SerializeObjectData ( _
generation As IMetadataGeneration, _
rawEvent As IntPtr, _
rawEventLength As UInteger _
)
'Uso
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
)
Parámetros
- generation
Tipo: Microsoft.SqlServer.XEvent.IMetadataGeneration
The metadata generation containing the metadata for the serialized published event.
- rawEvent
Tipo: System.IntPtr
The binary representation of a PublishedEvent object.
- rawEventLength
Tipo: System.UInt32
The length of raw event data in bytes.
Implementa
IEventSerializer.SerializeObjectData(IMetadataGeneration, IntPtr, UInt32)