StreamChain.ConvertToEvent Method
When overridden in a derived class, converts a raw event to an IntelliTraceEvent.
Namespace: Microsoft.VisualStudio.IntelliTrace
Assembly: Microsoft.VisualStudio.IntelliTrace (in Microsoft.VisualStudio.IntelliTrace.dll)
Syntax
'Déclaration
Protected MustOverride Function ConvertToEvent ( _
data As Byte(), _
ByRef offset As Integer _
) As IntelliTraceEvent
protected abstract IntelliTraceEvent ConvertToEvent(
byte[] data,
ref int offset
)
protected:
virtual IntelliTraceEvent^ ConvertToEvent(
array<unsigned char>^ data,
int% offset
) abstract
abstract ConvertToEvent :
data:byte[] *
offset:int byref -> IntelliTraceEvent
protected abstract function ConvertToEvent(
data : byte[],
offset : int
) : IntelliTraceEvent
Parameters
- data
Type: array<System.Byte[]
The raw event data to convert.
- offset
Type: System.Int32%
The offset into the event data to start converting.
Return Value
Type: Microsoft.VisualStudio.IntelliTrace.IntelliTraceEvent
The converted IntelliTraceEvent.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.