问题详情

You are testing a newly developed method named PersistToDB. This method accepts a parameter of type EventLogEntry. This method does not return a value.You need to create a code segment that helps you to test the method. The code segment must read entries from the application log of local computers and then pass the entries on to the PersistToDB method. The code block must pass only events of type Error or Warning from the source MySource to the PersistToDB method. Which code segment should you use?()


A、 A

B、 B

C、 C

D、 D

时间:2022-04-19 22:07 关键词: 微软认证考试 护理学专业知识

答案解析

C