Udostępnij za pośrednictwem


VersionedBinaryReader.MultiVersionReadCallback Delegate

Definition

Delegate that will read the body of the stream. It explicitly handles the case where actualVersion does not equal expectedVersion.

public: delegate void VersionedBinaryReader::MultiVersionReadCallback(VersionedBinaryReader ^ reader, int expectedVersion, int actualVersion);
public delegate void VersionedBinaryReader.MultiVersionReadCallback(VersionedBinaryReader reader, int expectedVersion, int actualVersion);
type VersionedBinaryReader.MultiVersionReadCallback = delegate of VersionedBinaryReader * int * int -> unit
Public Delegate Sub VersionedBinaryReader.MultiVersionReadCallback(reader As VersionedBinaryReader, expectedVersion As Integer, actualVersion As Integer)

Parameters

reader
VersionedBinaryReader

The VersionedBinaryReader

expectedVersion
Int32

The expected stream version

actualVersion
Int32

The actual stream version

Applies to