為大家收集整理了《2013年微軟認(rèn)證練習(xí)及答案61》供大家參考,希望對(duì)大家有所幫助?。。?BR> 202.myFormatter是一個(gè)引用SoapFormatter對(duì)象的變量,stream是一個(gè)打開的可寫文件流,請(qǐng)問(wèn)將可序列化對(duì)象obj寫入流的正確代碼是(C)
A:stream+=myFormatter.Serialize(obj)
B:myFormatter.Serialize(stream.write(obj))
*C:myFormatter.Serialize(stream,obj)
D:stream.vrite(mytFormatter.Serialize(obj))
203.為了對(duì)一個(gè)類實(shí)現(xiàn)自定義的序列化,應(yīng)使該類實(shí)現(xiàn)(A)
*A:ISerializable
B:IObjectReference
C:IFormatter
D:IDeserializationCallback
204.在.NET遠(yuǎn)程處理框架中,TCP信道的默認(rèn)格式化程序?yàn)?(B)
A:HttpFormatter
*B:BinaryFormatter
C:TcpFormatter
D:SoapFormatter
205.在.NET遠(yuǎn)程處理框架中編程時(shí),為了在傳輸中獲得更快的速度,應(yīng)為遠(yuǎn)程對(duì)象使用的信道注冊(cè)使用(C)
A:IP格式化程序
B:UDP格式化程序
*C:二進(jìn)制格式化程序
D:SOAP格式化程序
206.解決方案doremotingcall包含3個(gè)項(xiàng)目myserver,myclient,common,場(chǎng)景如下: (D)
myserver和myclient分別為兩個(gè)vb.net控制臺(tái)項(xiàng)目,common為vb.net類庫(kù)項(xiàng)目,其中,common項(xiàng)目實(shí)現(xiàn)了類helloclass,輸出文件為common.dll,myserver引用common.dll,并向.net遠(yuǎn)程處理框架注冊(cè)類
A:RemotingConfiguration.RegisterActivatedClientType
B:RemotingConfiguration.RegisterActivatedServiceType
C:RemotingConfiguration.RegisterWellknownClientType
*D:RemotingConfiguration.RegisterWellknownServiceType
A:stream+=myFormatter.Serialize(obj)
B:myFormatter.Serialize(stream.write(obj))
*C:myFormatter.Serialize(stream,obj)
D:stream.vrite(mytFormatter.Serialize(obj))
203.為了對(duì)一個(gè)類實(shí)現(xiàn)自定義的序列化,應(yīng)使該類實(shí)現(xiàn)(A)
*A:ISerializable
B:IObjectReference
C:IFormatter
D:IDeserializationCallback
204.在.NET遠(yuǎn)程處理框架中,TCP信道的默認(rèn)格式化程序?yàn)?(B)
A:HttpFormatter
*B:BinaryFormatter
C:TcpFormatter
D:SoapFormatter
205.在.NET遠(yuǎn)程處理框架中編程時(shí),為了在傳輸中獲得更快的速度,應(yīng)為遠(yuǎn)程對(duì)象使用的信道注冊(cè)使用(C)
A:IP格式化程序
B:UDP格式化程序
*C:二進(jìn)制格式化程序
D:SOAP格式化程序
206.解決方案doremotingcall包含3個(gè)項(xiàng)目myserver,myclient,common,場(chǎng)景如下: (D)
myserver和myclient分別為兩個(gè)vb.net控制臺(tái)項(xiàng)目,common為vb.net類庫(kù)項(xiàng)目,其中,common項(xiàng)目實(shí)現(xiàn)了類helloclass,輸出文件為common.dll,myserver引用common.dll,并向.net遠(yuǎn)程處理框架注冊(cè)類
A:RemotingConfiguration.RegisterActivatedClientType
B:RemotingConfiguration.RegisterActivatedServiceType
C:RemotingConfiguration.RegisterWellknownClientType
*D:RemotingConfiguration.RegisterWellknownServiceType