多做题,通过考试没问题!

微软认证考试

睦霖题库>其他计算机考试>微软认证考试

You are developing an application that receives events asynchronously. You create a WqlEventQuery instance to specify the events and event conditions to which the application must respond. You also create a ManagementEventWatcher instance to subscribe to events matching the query.You need to identify the other actions you must perform before the application can receive events asynchronously. Which two actions should you perform?()

  • A、Start listening for events by calling the Start method of the ManagementEventWatcher.
  • B、Set up a listener for events by using the EventArrived event of the ManagementEventWatcher.
  • C、Use the WaitForNextEvent method of the ManagementEventWatcher to wait for the events.
  • D、Create an event handler class that has a method that receives an ObjectReadyEventArgs parameter.
  • E、Set up a listener for events by using the Stopped event of the ManagementEventWatcher.
正确答案:A,B
答案解析:
进入题库查看解析

微信扫一扫手机做题