分类信息
各地考试

当前位置:首页 » 微软认证 » 模拟试题 » 正文

2013微软认证模拟练习题(15)


时间:2013-10-17 来源:微软认证考试 浏览次数:211  【华夏培训网:中国教育培训第一门户

202.myFormatter是一个引用SoapFormatter对象的变量,stream是一个打开的可写文件流,请问将可序列化对象obj写入流的正确代码是(C

202.myFormatter是一个引用SoapFormatter对象的变量,stream是一个打开的可写文件流,请问将可序列化对象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.为了对一个类实现自定义的序列化,应使该类实现(A)

*A:ISerializable

B:IObjectReference

C:IFormatter

D:IDeserializationCallback

 

204.在.NET远程处理框架中,TCP信道的默认格式化程序为:(B)

A:HttpFormatter

*B:BinaryFormatter

C:TcpFormatter

D:SoapFormatter

205.在.NET远程处理框架中编程时,为了在传输中获得更快的速度,应为远程对象使用的信道注册使用(C)

A:IP格式化程序

B:UDP格式化程序

*C:二进制格式化程序

D:SOAP格式化程序

206.解决方案doremotingcall包含3个项目myserver,myclient,common,场景如下: (D)

myserver和myclient分别为两个vb.net控制台项目,common为vb.net类库项目,其中,common项目实现了类helloclass,输出文件为common.dll,myserver引用common.dll,并向.net远程处理框架注册类

A:RemotingConfiguration.RegisterActivatedClientType

B:RemotingConfiguration.RegisterActivatedServiceType

C:RemotingConfiguration.RegisterWellknownClientType

*D:RemotingConfiguration.RegisterWellknownServiceType





       微软认证

推荐图文

热门点击排行

©2015 hxpx.com All Rights Reserved 滇ICP备13002816号-1
华夏培训网唯一网址www.hxpx.com