2012.2.13

定义服务协定:在类或接口中使用ServiceContractAttribute属性标记.

定义服务操作:在方法上使用operationContractAttribute属性标记.

Message:

WriteBodyContents方法:正文传送

WriteBody:包含Body。

WriteMessage:整个信息传送

CreateBufferedCopy:将消息放到缓冲区中。

Headers:表头。

Properties:消息属性。

Version:版本。

IsFault:错误消息时返回True。

IsEmpty:空消息返回True。

posted @ 2012-02-13 11:46  永远的菜鸟  阅读(98)  评论(0编辑  收藏  举报