PrepAway - Latest Free Exam Questions & Answers

Which of the following is TRUE with regards to the WaitForFullGCApproach method?

You work as a senior developer at ABC.com. The ABC.com network consists of a single domain
named ABC.com.
You are running a training exercise for junior developers. You are currently discussing the
WaitForFullGCApproach method.
Which of the following is TRUE with regards to the WaitForFullGCApproach method?

PrepAway - Latest Free Exam Questions & Answers

A.
It is used to return the status of a registered notification for determining whether a full, blocking
garbage collection by the common language is pending.

B.
It is used to return the status of a registered notification for determining whether a full, blocking
garbage collection by the common language runtime has completed.

C.
It is used to return the status of a registered notification for determining whether a full, blocking
garbage collection by the common language runtime has completed in a particular time-out period.

D.
It is used to return the status of a registered notification for determining whether a full, blocking
garbage collection by the common language runtime is pending in a particular time-out period.

Explanation:

7 Comments on “Which of the following is TRUE with regards to the WaitForFullGCApproach method?

  1. don't test me says:

    https://msdn.microsoft.com/en-us/library/system.gc.waitforfullgcapproach(v=vs.110).aspx

    WaitForFullGCApproach() “Returns the status of a registered notification for determining whether a full, blocking garbage collection by the common language runtime is imminent.”

    WaitForFullGCApproach(Int32) “Returns, in a specified time-out period, the status of a registered notification for determining whether a full, blocking garbage collection by the common language runtime is imminent.”

    Since I am just ‘discussing the WaitForFullGCApproach method’ then shouldn’t both A and D be correct? Is this even a multiple answer question?




    1



    0

Leave a Reply