You need to write a code segment that will create a common language runtime (CLR) unit of isolation within an application. Which code segment should you use?

You need to write a code segment that will create a common language runtime (CLR) unit of
isolation within an application. Which code segment should you use?

A. Dim mySetup As AppDomainSetup = _
    AppDomain.CurrentDomain.SetupInformationmySetup.ShadowCopyFiles = "true" 
B. Dim myProcess As System.Diagnostics.Process myProcess = New
    System.Diagnostics.Process()
C. Dim domain As AppDomain domain =
    AppDomain.CreateDomain("BraindumpsDomain")
D. Dim myComponent As System.ComponentModel.ComponentmyComponent = New
    System.ComponentModel.Component()

Answer: C 



No comments:

Post a Comment