LogRecord 类
定义
表示已追加到序列的日志记录。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
- 继承
-
LogRecord
- 实现
构造函数
| LogRecord() |
初始化 LogRecord 类的新实例。Initializes a new instance of the LogRecord class. |
属性
| Data |
在派生类中重写时,获取包含记录数据的流。When overridden in a derived class, gets a stream that contains the record data. |
| Previous |
在派生类中重写时,获取上一记录的序列号。When overridden in a derived class, gets the sequence number of the previous record. |
| SequenceNumber |
在派生类中重写时,获取此记录的序列号。When overridden in a derived class, gets the sequence number of this record. |
| User |
在派生类中重写时,获取下一记录的序列号。When overridden in a derived class, gets the sequence number of the next record. |
方法
| Dispose() |
释放由 LogRecord 使用的所有资源。Releases all resources used by the LogRecord. |
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |