ExceptionTExceptionArgs 类 |
命名空间: HslCommunication.BasicFramework
[SerializableAttribute] public sealed class Exception<TExceptionArgs> : Exception, ISerializable where TExceptionArgs : ExceptionArgs
ExceptionTExceptionArgs 类型公开以下成员。
名称 | 说明 | |
---|---|---|
ExceptionTExceptionArgs(String, Exception) |
实例化一个异常对象
| |
ExceptionTExceptionArgs(TExceptionArgs, String, Exception) |
实例化一个异常对象
|
名称 | 说明 | |
---|---|---|
Args |
消息
| |
Data | (继承自 Exception。) | |
HelpLink | (继承自 Exception。) | |
HResult | (继承自 Exception。) | |
InnerException | (继承自 Exception。) | |
Message |
获取描述当前异常的消息
(重写 ExceptionMessage.) | |
Source | (继承自 Exception。) | |
StackTrace | (继承自 Exception。) | |
TargetSite | (继承自 Exception。) |
名称 | 说明 | |
---|---|---|
Equals |
确定指定的object是否等于当前的object
(重写 ObjectEquals(Object).) | |
GetBaseException | (继承自 Exception。) | |
GetHashCode | (重写 ObjectGetHashCode.) | |
GetObjectData |
获取存储对象的序列化数据
(重写 ExceptionGetObjectData(SerializationInfo, StreamingContext).) | |
GetType | (继承自 Exception。) | |
ToString | (继承自 Exception。) |
名称 | 说明 | |
---|---|---|
ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |