IEventSerializer.SerializeObjectData Método
Esta API admite la infraestructura de SQL Server 2012 y no está prevista su utilización directa desde el código.
Serializes 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
Sub SerializeObjectData ( _
generation As IMetadataGeneration, _
rawEvent As IntPtr, _
rawEventLength As UInteger _
)
'Uso
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
)
Parámetros
- generation
Tipo: Microsoft.SqlServer.XEvent.IMetadataGeneration
The metadata generation containing the metadata for the serialized published event.
- rawEvent
Tipo: System.IntPtr
Binary representation of a PublishedEvent.
- rawEventLength
Tipo: System.UInt32
Length of raw event data in bytes.