SqlClientLogger Class

Definition

表示 SQL 客户端记录器。Represents a SQL client logger.

public ref class SqlClientLogger
public class SqlClientLogger
type SqlClientLogger = class
Public Class SqlClientLogger
Inheritance
SqlClientLogger

Constructors

SqlClientLogger()

初始化 SqlClientLogger 类的新实例。Initializes a new instance of the SqlClientLogger class.

Properties

IsLoggingEnabled

获取一个值,该值指示是否启用 bid 跟踪。Gets a value that indicates whether bid tracing is enabled.

Methods

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(Inherited from Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
LogAssert(Boolean, String, String, String)

如果 valuefalse,则记录指定的消息。Logs the specified message if value is false.

LogError(String, String, String)

通过当前实例类型的指定方法记录错误。Logs an error through a specified method of the current instance type.

LogInfo(String, String, String)

通过当前实例类型指定的方法记录信息。Logs information through a specified method of the current instance type.

MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)

Applies to