單項選擇題

解決方案DoRemotingCall包含3個項目MyServer、MyClient、Common,場景如下:
MyServer和MyClient分別為兩個C#控制臺項目,Common為C#類庫項目。其中,Common項目實現(xiàn)了類HelloClass,輸出文件為Common.dll;MyServer引用Common.dll,并向.NET遠程處理框架注冊類HelloClass為遠程對象;MyClient引用Common.dll,并希望通過.NET遠程處理框架訪問有MyServer進程創(chuàng)建的HelloClass對象。為了在MyServer的Main方法中將HelloClass類注冊為“客戶端激活”對象,應調用類RemotingConfiguration中以下哪個方法?()

A.a
B.b
C.c
D.d


您可能感興趣的試卷

你可能感興趣的試題

2.單項選擇題在.NET遠程處理框架中,TCP信道的默認格式化程序為:()。

A.SoapFormatter
B.BinaryFormatter
C.HttpFormatter
D.TcpFormatter

3.單項選擇題在.NET遠程處理框架中,HTTP信道的默認格式化程序為:()。

A.SoapFormatter
B.BinaryFormatter
C.HttpFormatter
D.TcpFormatter