点击或拖拽改变大小

LogNetException 类

日志存储回调的异常信息
继承层次
SystemObject
  SystemException
    HslCommunication.LogNetLogNetException

命名空间:  HslCommunication.LogNet
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法
public class LogNetException : Exception

LogNetException 类型公开以下成员。

构造函数
  名称说明
公共方法LogNetException
使用其他的异常信息来初始化日志异常
Top
属性
  名称说明
公共属性Data
Gets a collection of key/value pairs that provide additional user-defined information about the exception.
(继承自 Exception。)
公共属性HelpLink
Gets or sets a link to the help file associated with this exception.
(继承自 Exception。)
公共属性HResult
Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception.
(继承自 Exception。)
公共属性InnerException
Gets the Exception instance that caused the current exception.
(继承自 Exception。)
公共属性Message
Gets a message that describes the current exception.
(继承自 Exception。)
公共属性Source
Gets or sets the name of the application or the object that causes the error.
(继承自 Exception。)
公共属性StackTrace
Gets a string representation of the immediate frames on the call stack.
(继承自 Exception。)
公共属性TargetSite
Gets the method that throws the current exception.
(继承自 Exception。)
Top
方法
  名称说明
公共方法Equals
Determines whether the specified object is equal to the current object.
(继承自 Object。)
受保护的方法Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(继承自 Object。)
公共方法GetBaseException
When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions.
(继承自 Exception。)
公共方法GetHashCode
Serves as the default hash function.
(继承自 Object。)
公共方法GetObjectData
When overridden in a derived class, sets the SerializationInfo with information about the exception.
(继承自 Exception。)
公共方法GetType
Gets the runtime type of the current instance.
(继承自 Exception。)
受保护的方法MemberwiseClone
Creates a shallow copy of the current Object.
(继承自 Object。)
公共方法ToString
Creates and returns a string representation of the current exception.
(继承自 Exception。)
Top
事件
  名称说明
受保护的事件SerializeObjectState
Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception.
(继承自 Exception。)
Top
扩展方法
  名称说明
公共扩展器方法ToJsonString
获取当前对象的JSON格式表示的字符串。
Gets the string represented by the JSON format of the current object.
(由 HslExtension 定义。)
Top
参见