???????????
???????????? ???????[ 2014/7/23 14:02:10 ] ???????????????
?????????????Web.Config????App.Config?????????
<section name="ExManager" type="ExManagement.Config.ExSectionHandler?? ExManagement.Config" />
??????????????ExManagement.Config.ExSectionHandler????????ExManager???y??
?????????????ErrorCodeSource??ConnectionString?????????
????ErrorCodeSource?????????????????????????????????????????????????????????????????ErrorCodeSource?????XML????DB??
????ConnectionString??????????????????????????λ?á???ErrorCodeSource???????????XML???????XML?????FullName;??ErrorCodeSource???????????DB????????????????????????
????DataTable??????????ü????????????????
?????????????? ???????????????????????????????Name??Type??ReturnMode???AlertType?????
????Name???????????????????????????????????е???????????????????????????????????ò???????????????????
????Type??????????????????????????Type=”ClassName?? AssemblyName”??????????ExHandlerBase??С?
????ReturnMode????????????????????????????????????????ExReturnMode?????????Exception/ExceptionString/ErrorCode/ErrorString???????????????/?????????????/?????????/????????????
????AlertType???????????????????????????????ExAlertType?????????None/WebUI/WinUI??
????< LogHandler>??????????????????????????0??????< LogHandler>????
????Type??????????????????????????????????Type=”ClassName?? AssemblyName”????????????IExLogHandler????
????ConnectionString??????????????????ü??????????????λ?á?
????DataTable??????????ü????????????????
????ExManagement.Interface??
??????????IExLogHandler??I Message??????????ExHandlerBase????????????????Щ??????????????????????-3??
???????-3
??????????ExHandlerBase?????м??????????????????????
public void LoadLogHandler(ExManagerConfig.ExHandlerConfig config)
{
m_ExHandlerConfig = config;
foreach (ExManagerConfig.LogHandlerConfig logConfig in config.LogConfigColletion)
{
object exLogHandler = System.Activator.CreateInstance(Type.GetType(logConfig.Type));
lstLogHandler.Add(exLogHandler);
}
}
???????????????????иy?????????????????????????????LogHandler????????????????????????С?
????ExManagement.MessageHandler??
?????e?????????IMessage??????????????????????WinUI??WebUI?е????????????WinFormMessage??WebMessage?????????System.Web.Dll??System. Windows.Forms.Dll???????-4??
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11