LogNetException 类 |
命名空间: HslCommunication.LogNet
LogNetException 类型公开以下成员。
| 名称 | 说明 | |
|---|---|---|
| LogNetException |
使用其他的异常信息来初始化日志异常
|
| 名称 | 说明 | |
|---|---|---|
| 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。) |
| 名称 | 说明 | |
|---|---|---|
| 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。) |
| 名称 | 说明 | |
|---|---|---|
| SerializeObjectState | Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception. (继承自 Exception。) |
| 名称 | 说明 | |
|---|---|---|
| ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |