试题详情
单项选择题 你有被问到配置文件,可以使用事件日志 API 可以访问的业务应用程序。 您已通过添加以下代码,以创建一个自定义事件日志: if (EventLog.SourceExists ("Application1")) EventLog.DeleteEventSource ("Application1"); //Create new event log EventLog.CreateEventSource ("Application1", "Profile"); You need to write an event to the Application1 event log. What code must you use? 您需要应用 1 的事件日志中写入事件。 您必须使用哪些代码?()

A、

B、

C、

D、

  • C
  • 关注下方微信公众号,在线模考后查看

热门试题