???????????
???????????? ???????[ 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??
??????

???·???
App??С????H5?????????????????Щ??
2024/9/11 15:34:34?????????????????????????
2024/9/10 11:13:49P-One ???????????????????????????????????????
2024/9/10 10:14:12???????????????????????????
2024/9/9 18:04:26??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44