微软MCAD 70-310 实战百题
题目内容

You are creating a Windows-based application named WinAppl. To the application, you add a Windows Form named Forml and a reference to a SingleCal 1 .NET Rernoting object named TheirObject.You need to ensure that Forml creates an instance of TheirObject to make the necessary remote object calls.Which code segment should you use?

2021-12-25

A.RemotingConfiguration.RegisterActivatedClientType ( —GetTy pe (TheirObject),"http://YourServer/TheirAppPath/TheirObject.rem")Dim theirObject As New TheirObject()

B.RemotingConfiguration.RegisterWellKnownClientType( _GetTy pe(TheirObject),"http://YourServer/TheirAppPath/TheirObje ct.rem")Dim theirObject As New TheirObject ()

C.RemotingConfiguration.RegisterActivatedServiceType( _GetT ype(TheirObject),Dim theirObject As New TheirObject ()

D.RemotingConfiguration.RegisterWellKnownServiceType( _GetT ype(TheirObject),"http://YourServer/TheirAppPath/TheirObj ect. rem" , _WellKnownObjectMode . Singleton) Dim theirObject AsNew TheirObject()

题目答案

试卷相关题目

最新试卷
热门试卷

长理培训客户端 资讯,试题,视频一手掌握

去 App Store 免费下载 iOS 客户端