一款简单易用的基础网络通讯组件库。

EventNameException 类

事件名称异常

Definition

命名空间: TouchSocket.Dmtp.Rpc
程序集: TouchSocketPro.Dmtp (在 TouchSocketPro.Dmtp.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
C#
[SerializableAttribute]
public class EventNameException : Exception
Inheritance
Object    Exception    EventNameException

构造函数

EventNameException 初始化事件名称异常类的实例
EventNameException(String) 初始化事件名称异常类的实例,并带有一个说明异常的字符串
EventNameException(String, Exception) 初始化事件名称异常类的实例,并带有说明异常的字符串和一个内部异常

属性

DataGets a collection of key/value pairs that provide additional user-defined information about the exception.
(继承自 Exception。)
HelpLinkGets or sets a link to the help file associated with this exception.
(继承自 Exception。)
HResultGets or sets HRESULT, a coded numerical value that is assigned to a specific exception.
(继承自 Exception。)
InnerExceptionGets the Exception instance that caused the current exception.
(继承自 Exception。)
MessageGets a message that describes the current exception.
(继承自 Exception。)
SourceGets or sets the name of the application or the object that causes the error.
(继承自 Exception。)
StackTraceGets a string representation of the immediate frames on the call stack.
(继承自 Exception。)
TargetSiteGets the method that throws the current exception.
(继承自 Exception。)

方法

EqualsDetermines whether the specified object is equal to the current object.
(继承自 Object。)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(继承自 Object。)
GetBaseExceptionWhen overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions.
(继承自 Exception。)
GetHashCodeServes as the default hash function.
(继承自 Object。)
GetObjectDataWhen overridden in a derived class, sets the SerializationInfo with information about the exception.
(继承自 Exception。)
GetTypeGets the runtime type of the current instance.
(继承自 Exception。)
MemberwiseCloneCreates a shallow copy of the current Object.
(继承自 Object。)
ToStringCreates and returns a string representation of the current exception.
(继承自 Exception。)

事件

SerializeObjectStateOccurs when an exception is serialized to create an exception state object that contains serialized data about the exception.
(继承自 Exception。)
已过时。

扩展方法

Map
(由 Mapper 定义。)
Map
(由 Mapper 定义。)
MapTTarget
(由 Mapper 定义。)
ToJsonString 转换为Json
(由 SerializeConvert 定义。)

参见