LogRecord LogRecord LogRecord LogRecord Class

定義

代表已附加至順序的記錄檔記錄。Represents a log record that has been appended to a sequence.

public ref class LogRecord abstract : IDisposable
public abstract class LogRecord : IDisposable
type LogRecord = class
    interface IDisposable
Public MustInherit Class LogRecord
Implements IDisposable
繼承
LogRecordLogRecordLogRecordLogRecord
實作

建構函式

LogRecord() LogRecord() LogRecord() LogRecord()

初始化 LogRecord 類別的新執行個體。Initializes a new instance of the LogRecord class.

屬性

Data Data Data Data

在衍生類別中覆寫時,取得包含記錄資料的資料流。When overridden in a derived class, gets a stream that contains the record data.

Previous Previous Previous Previous

在衍生類別中覆寫時,取得上一筆記錄的序號。When overridden in a derived class, gets the sequence number of the previous record.

SequenceNumber SequenceNumber SequenceNumber SequenceNumber

在衍生類別中覆寫時,取得這個記錄的序號。When overridden in a derived class, gets the sequence number of this record.

User User User User

在衍生類別中覆寫時,取得下一筆記錄的序號。When overridden in a derived class, gets the sequence number of the next record.

方法

Dispose() Dispose() Dispose() Dispose()

釋放 LogRecord 所使用的所有資源。Releases all resources used by the LogRecord.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(Inherited from Object)

適用於