123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251 |
- using System.ComponentModel;
- namespace TouchSocket.Resources
- {
-
-
-
- public enum TouchSocketStatus : byte
- {
-
-
-
- [Description("未知错误")]
- UnknownError,
-
-
-
- [Description("操作成功")]
- Success,
-
-
-
- [Description("操作超时")]
- Overtime,
-
-
-
- [Description("用户主动取消操作。")]
- Canceled,
-
-
-
- [Description("参数‘{0}’为空。")]
- ArgumentNull,
-
-
-
- [Description("发生异常,信息:{0}。")]
- Exception,
- #region TouchRpc
-
-
-
- [Description("不允许路由该包,信息:{0}。")]
- RoutingNotAllowed,
-
-
-
- [Description("未找到该公共方法,或该方法未标记为Rpc")]
- RpcMethodNotFind,
-
-
-
- [Description("方法已被禁用")]
- RpcMethodDisable,
-
-
-
- [Description("函数执行异常,详细信息:{0}")]
- RpcInvokeException,
-
-
-
- [Description("事件操作器异常。")]
- GetEventArgsFail,
-
-
-
- [Description("通道设置失败。")]
- SetChannelFail,
-
-
-
- [Description("ID为{0}的通道已存在。")]
- ChannelExisted,
-
-
-
- [Description("远程终端拒绝该操作,反馈信息:{0}。")]
- RemoteRefuse,
-
-
-
- [Description("从‘{0}’创建写入流失败,信息:{1}。")]
- CreateWriteStreamFail,
-
-
-
- [Description("没有找到路径‘{0}’对应的流文件。")]
- StreamNotFind,
-
-
-
- [Description("没有找到ID为{0}的客户端。")]
- ClientNotFind,
-
-
-
- [Description("路径‘{0}’对应的流文件,仍然被‘{1}’对象应用。")]
- StreamReferencing,
-
-
-
- [Description("流容器为空。")]
- StreamBucketNull,
-
-
-
- [Description("从‘{0}’路径加载流异常,信息:‘{1}’。")]
- LoadStreamFail,
-
-
-
- [Description("目录‘{0}’已存在。")]
- DirectoryExisted,
-
-
-
- [Description("文件‘{0}’已存在。")]
- FileExisted,
-
-
-
- [Description("文件‘{0}’不存在。")]
- FileNotExists,
-
-
-
- [Description("目录‘{0}’不存在。")]
- DirectoryNotExists,
-
-
-
- [Description("名称为“{0}”的事件已存在。")]
- EventExisted,
-
-
-
- [Description("名称为“{0}”的事件不存在。")]
- EventNotExist,
-
-
-
- [Description("资源句柄{0}对应的资源没有找到,可能操作已超时。")]
- ResourceHandleNotFind,
-
-
-
- [Description("还有{0}个资源没有完成。")]
- HasUnFinished,
-
-
-
- [Description("文件长度太长。")]
- FileLengthTooLong,
-
-
-
- [Description("读取文件长度错误。")]
- LengthErrorWhenRead,
-
-
-
- [Description("没有找到任何可用的目标Id。")]
- NotFindAnyTargetId,
- #endregion TouchRpc
- #region Core
-
-
-
- [Description("Token消息为‘{0}’的已注册。")]
- TokenExisted,
-
-
-
- [Description("Token消息为‘{0}’的未注册。")]
- MessageNotFound,
- #endregion Core
- #region Client
-
-
-
- [Description("数据处理适配器为空,可能客户端已掉线。")]
- NullDataAdapter,
-
-
-
- [Description("客户端没有连接。")]
- NotConnected,
-
-
-
- [Description("授权密钥无效,程序将在5秒后退出。请检查密钥,或者不使用企业版功能。")]
- LicenceKeyInvalid,
- #endregion Client
- }
- }
|