共用方式為


BinaryLogReplayEventSource.OpenReader Method

Definition

Overloads

OpenReader(String)

Creates a BinaryReader for the provided binary log file. Performs decompression and buffering in the optimal way. Caller is responsible for disposing the returned reader.

OpenReader(Stream)

Creates a BinaryReader for the provided binary log file. Performs decompression and buffering in the optimal way. Caller is responsible for disposing the returned reader.

OpenReader(String)

Source:
BinaryLogReplayEventSource.cs

Creates a BinaryReader for the provided binary log file. Performs decompression and buffering in the optimal way. Caller is responsible for disposing the returned reader.

public:
 static System::IO::BinaryReader ^ OpenReader(System::String ^ sourceFilePath);
public static System.IO.BinaryReader OpenReader (string sourceFilePath);
static member OpenReader : string -> System.IO.BinaryReader
Public Shared Function OpenReader (sourceFilePath As String) As BinaryReader

Parameters

sourceFilePath
String

Returns

BinaryReader of the given binlog file.

Applies to

OpenReader(Stream)

Source:
BinaryLogReplayEventSource.cs

Creates a BinaryReader for the provided binary log file. Performs decompression and buffering in the optimal way. Caller is responsible for disposing the returned reader.

public:
 static System::IO::BinaryReader ^ OpenReader(System::IO::Stream ^ sourceFileStream);
public static System.IO.BinaryReader OpenReader (System.IO.Stream sourceFileStream);
static member OpenReader : System.IO.Stream -> System.IO.BinaryReader
Public Shared Function OpenReader (sourceFileStream As Stream) As BinaryReader

Parameters

sourceFileStream
Stream

Stream over the binlog file

Returns

BinaryReader of the given binlog file.

Applies to