Share via


LogStreamEventChain.ConvertToEvent Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

When overridden in a derived class, converts a raw message to a point.

Namespace:  Microsoft.VisualStudio.TraceLog
Assembly:  Microsoft.VisualStudio.TraceLog (in Microsoft.VisualStudio.TraceLog.dll)

Syntax

'Declaration
Protected MustOverride Function ConvertToEvent ( _
    data As Byte(), _
    ByRef offset As Integer _
) As ChainEvent
'Usage
Dim data As Byte()
Dim offset As Integer
Dim returnValue As ChainEvent

returnValue = Me.ConvertToEvent(data, _
    offset)
protected abstract ChainEvent ConvertToEvent(
    byte[] data,
    ref int offset
)
protected:
virtual ChainEvent^ ConvertToEvent(
    array<unsigned char>^ data, 
    int% offset
) abstract
abstract ConvertToEvent : 
        data:byte[] * 
        offset:int byref -> ChainEvent 
protected abstract function ConvertToEvent(
    data : byte[], 
    offset : int
) : ChainEvent

Parameters

  • data
    Type: array<System.Byte[]
    The raw message data to convert.
  • offset
    Type: System.Int32%
    The offset into the message data to start converting.

Return Value

Type: Microsoft.VisualStudio.TraceLog.ChainEvent
The decoded point.

.NET Framework Security

See Also

Reference

LogStreamEventChain Class

LogStreamEventChain Members

Microsoft.VisualStudio.TraceLog Namespace