Which code segment should you use?

You are developing a Windows Communication Foundation (WCF) client application. You

instantiate a client class that inherits from ClientBase. The client instance must always be
shut down in such a way that it can free up any resources it is referencing. You need to
ensure that all exceptions are caught and the instance is always properly shut down. Which
code segment should you use?

You are developing a Windows Communication Foundation (WCF) client application. You

instantiate a client class that inherits from ClientBase. The client instance must always be
shut down in such a way that it can free up any resources it is referencing. You need to
ensure that all exceptions are caught and the instance is always properly shut down. Which
code segment should you use?

A.
OPTION A

B.
OPTION B

C.
OPTION C

D.
OPTION D



Leave a Reply 0

Your email address will not be published. Required fields are marked *