1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403
|
<?xml version="1.0" encoding="utf-8"?>
<Type Name="Message" FullName="System.ServiceModel.Channels.Message">
<TypeSignature Language="C#" Value="public abstract class Message : IDisposable" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract beforefieldinit Message extends System.Object implements class System.IDisposable" />
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="T:System.ServiceModel.Channels.Message" /> class provides a means of communicating arbitrary information between a sender and a receiver on a network. It can be used to relay information, suggest or demand a course of action, or request data. </para>
<para>The structure of a <see cref="T:System.ServiceModel.Channels.Message" /> object represents a SOAP envelope. It consists of two distinct parts: the message's body and an optional collection of headers, represented by the <see cref="P:System.ServiceModel.Channels.Message.Headers" /> class. The message content is application-defined data sent from a sender to a receiver. The message headers enable system and application extensibility to meet the changing requirements, because you can define code to manipulate and respond to specific headers. You can also define your own headers. Message headers are serialized or deserialized along with the contents of the message. </para>
<para>Messages are received and sent in particular formats. Support is provided for two formats: the standard text-based XML format and a binary-based XML format. The <see cref="T:System.ServiceModel.Channels.Message" /> object can be used to represent both SOAP 1.1 and SOAP 1.2 envelopes. Note that an instance of <see cref="T:System.ServiceModel.Channels.Message" /> is fixed upon creation and is bound to a specific SOAP version. The <see cref="P:System.ServiceModel.Channels.Message.Version" /> property represents the SOAP version of the message. </para>
<para>A <see cref="T:System.ServiceModel.Channels.Message" /> object can be serialized to an external store by using the <see cref="M:System.ServiceModel.Channels.Message.WriteMessage(System.Xml.XmlDictionaryWriter)" /> method. Properties of the message can also be serialized, but they have to be individually identified and serialized separately. Deserializing a message to create an in-memory <see cref="T:System.ServiceModel.Channels.Message" /> object can be done using <see cref="Overload:System.ServiceModel.Channels.Message.CreateMessage" />. Properties must also be deserialized individually and manually added to the property collection for the specific <see cref="T:System.ServiceModel.Channels.Message" /> instance. </para>
<para>The size of a <see cref="T:System.ServiceModel.Channels.Message" /> object is fixed to the size of data it is transmitting. Every body is modeled as an instance of <see cref="T:System.Xml.XmlReader" />, with no predefined limit on the size of the stream that the <see cref="T:System.Xml.XmlReader" /> instance is wrapping. However, specific channel providers can have a limit on the size of messages that they process. </para>
<para>A <see cref="T:System.ServiceModel.Channels.Message" /> can be annotated with useful information generated by an entity that has examined and processed the message. This functionality is provided by the <see cref="P:System.ServiceModel.Channels.Message.Headers" /> and <see cref="P:System.ServiceModel.Channels.Message.Properties" /> properties. The <see cref="P:System.ServiceModel.Channels.Message.Headers" /> collection represents the set of SOAP headers on the message. </para>
<para>The <see cref="P:System.ServiceModel.Channels.Message.Properties" /> property represents the set of processing-level annotations on the message. Because information in headers is transmitted on the wire, an entity that examines a header must support the underlying version(s) of the protocols used by the header. However, properties provide a more version-independent way of annotating a message. </para>
<para>To create a <see cref="T:System.ServiceModel.Channels.Message" /> instance, use one of the <see cref="Overload:System.ServiceModel.Channels.Message.CreateMessage" /> methods. </para>
<para>It is recommended that a consumer of a message always call <see cref="M:System.ServiceModel.Channels.Message.Close" /> when the consumer is finished accessing the contents of the message. This action frees finite system resources (for example, sockets, named pipes) that are tied to the lifetime of the message. </para>
<para>Special note for Managed C++ users deriving from this class:</para>
<list type="bullet">
<item>
<para>Put your cleanup code in (On)(Begin)Close (and/or OnAbort), not in a destructor.</para>
</item>
<item>
<para>Avoid destructors: they cause the compiler to auto-generate <see cref="T:System.IDisposable" />.</para>
</item>
<item>
<para>Avoid non-reference members: they can cause the compiler to auto-generate <see cref="T:System.IDisposable" />.</para>
</item>
<item>
<para>Avoid finalizers; but if you include one, suppress the build warning and call <see cref="M:System.GC.SuppressFinalize(System.Object)" /> and the finalizer itself from (On)(Begin)Close (and/or OnAbort) to emulate what would have been the auto-generated <see cref="T:System.IDisposable" /> behavior.</para>
</item>
</list>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Represents the unit of communication between endpoints in a distributed environment. </para>
</summary>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected Message ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.ServiceModel.Channels.Message" /> class. </para>
</summary>
</Docs>
</Member>
<Member MemberName="Close">
<MemberSignature Language="C#" Value="public void Close ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Close() cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="T:System.ServiceModel.Channels.Message" /> does have a finalizer, which causes <see cref="M:System.ServiceModel.Channels.Message.Close" /> to be called for you when the message is garbage-collected. This is non-optimal, as the .NET Framework's Garbage Collection (GC) mechanism does not necessarily run when you run out of system resources other than memory. For this reason, you should always call this method when finished with the contents of the message. The <see cref="M:System.ServiceModel.Channels.Message.Close" /> method is a synonym for <see cref="M:System.IDisposable.Dispose" /> (which <see cref="T:System.ServiceModel.Channels.Message" /> also implements). The message also disposes the object that was used to construct the body when it is disposed. </para>
<para>An <see cref="T:System.ObjectDisposedException" /> is thrown if you call any method or access any properties of the message once it is closed. Calling any method or accessing any properties of other objects related to the message once it is closed, (such as message header collection, message property values, or <see cref="T:System.Xml.XmlReader" /> instances returned for the body or for a header) has undefined behavior. </para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Closes the <see cref="T:System.ServiceModel.Channels.Message" /> and releases any resources. </para>
</summary>
</Docs>
</Member>
<Member MemberName="CreateBufferedCopy">
<MemberSignature Language="C#" Value="public System.ServiceModel.Channels.MessageBuffer CreateBufferedCopy (int maxBufferSize);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.ServiceModel.Channels.MessageBuffer CreateBufferedCopy(int32 maxBufferSize) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ServiceModel.Channels.MessageBuffer</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="maxBufferSize" Type="System.Int32" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The body of a <see cref="T:System.ServiceModel.Channels.Message" /> instance can only be accessed or written once. If you want to access a <see cref="T:System.ServiceModel.Channels.Message" /> instance more than once, you should use the <see cref="T:System.ServiceModel.Channels.MessageBuffer" /> class to completely store an entire <see cref="T:System.ServiceModel.Channels.Message" /> instance into memory. A <see cref="T:System.ServiceModel.Channels.MessageBuffer" /> instance is constructed by calling <see cref="M:System.ServiceModel.Channels.Message.CreateBufferedCopy(System.Int32)" /> of a <see cref="T:System.ServiceModel.Channels.Message" /> instance.</para>
<block subset="none" type="note">
<para>If <see cref="P:System.ServiceModel.Channels.Message.Version" /> is equal to <see cref="P:System.ServiceModel.Channels.MessageVersion.None" />, this method only stores the body of the message, not the entire message into the memory buffer.</para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Stores an entire <see cref="T:System.ServiceModel.Channels.Message" /> into a memory buffer for future access.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A newly created <see cref="T:System.ServiceModel.Channels.MessageBuffer" /> object.</para>
</returns>
<param name="maxBufferSize">
<attribution license="cc4" from="Microsoft" modified="false" />The maximum size of the buffer to be created.</param>
</Docs>
</Member>
<Member MemberName="CreateMessage">
<MemberSignature Language="C#" Value="public static System.ServiceModel.Channels.Message CreateMessage (System.ServiceModel.Channels.MessageVersion version, string action);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.ServiceModel.Channels.Message CreateMessage(class System.ServiceModel.Channels.MessageVersion version, string action) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ServiceModel.Channels.Message</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="version" Type="System.ServiceModel.Channels.MessageVersion" />
<Parameter Name="action" Type="System.String" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This static method is used to create a new copy of message ready for sending.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Creates a message that contains a version and an action.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A <see cref="T:System.ServiceModel.Channels.Message" /> object for the message created. </para>
</returns>
<param name="version">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.ServiceModel.Channels.MessageVersion" /> object that specifies the SOAP version to use for the message.</param>
<param name="action">
<attribution license="cc4" from="Microsoft" modified="false" />A description of how the message should be processed.</param>
</Docs>
</Member>
<Member MemberName="CreateMessage">
<MemberSignature Language="C#" Value="public static System.ServiceModel.Channels.Message CreateMessage (System.ServiceModel.Channels.MessageVersion version, System.ServiceModel.Channels.MessageFault fault, string action);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.ServiceModel.Channels.Message CreateMessage(class System.ServiceModel.Channels.MessageVersion version, class System.ServiceModel.Channels.MessageFault fault, string action) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ServiceModel.Channels.Message</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="version" Type="System.ServiceModel.Channels.MessageVersion" />
<Parameter Name="fault" Type="System.ServiceModel.Channels.MessageFault" />
<Parameter Name="action" Type="System.String" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This static method is used to create a new copy of message ready for sending.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Creates a message that contains a SOAP fault, a version and an action.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A <see cref="T:System.ServiceModel.Channels.Message" /> object for the message created. </para>
</returns>
<param name="version">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.ServiceModel.Channels.MessageVersion" /> object that specifies the SOAP version to use for the message.</param>
<param name="fault">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.ServiceModel.Channels.MessageFault" /> object that represents a SOAP fault. </param>
<param name="action">
<attribution license="cc4" from="Microsoft" modified="false" />A description of how the message should be processed. </param>
</Docs>
</Member>
<Member MemberName="CreateMessage">
<MemberSignature Language="C#" Value="public static System.ServiceModel.Channels.Message CreateMessage (System.ServiceModel.Channels.MessageVersion version, string action, object body);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.ServiceModel.Channels.Message CreateMessage(class System.ServiceModel.Channels.MessageVersion version, string action, object body) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ServiceModel.Channels.Message</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="version" Type="System.ServiceModel.Channels.MessageVersion" />
<Parameter Name="action" Type="System.String" />
<Parameter Name="body" Type="System.Object" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This static method is used to create a new copy of message ready for sending.</para>
<para>When working with JSON messages use the <see cref="M:System.ServiceModel.Channels.Message.CreateMessage(System.ServiceModel.Channels.MessageVersion,System.String,System.Object,System.Runtime.Serialization.XmlObjectSerializer)" /> method, the <see cref="M:System.ServiceModel.Channels.Message.CreateMessage(System.ServiceModel.Channels.MessageVersion,System.String,System.Object)" /> method does not work with JSON messages.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Creates a message with the specified version, action and body. </para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A <see cref="T:System.ServiceModel.Channels.Message" /> object for the message created. </para>
</returns>
<param name="version">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.ServiceModel.Channels.MessageVersion" /> object that specifies the SOAP version to use for the message. </param>
<param name="action">
<attribution license="cc4" from="Microsoft" modified="false" />A description of how the message should be processed. </param>
<param name="body">
<attribution license="cc4" from="Microsoft" modified="false" />The body of the message.</param>
</Docs>
</Member>
<Member MemberName="CreateMessage">
<MemberSignature Language="C#" Value="public static System.ServiceModel.Channels.Message CreateMessage (System.ServiceModel.Channels.MessageVersion version, string action, System.ServiceModel.Channels.BodyWriter body);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.ServiceModel.Channels.Message CreateMessage(class System.ServiceModel.Channels.MessageVersion version, string action, class System.ServiceModel.Channels.BodyWriter body) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ServiceModel.Channels.Message</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="version" Type="System.ServiceModel.Channels.MessageVersion" />
<Parameter Name="action" Type="System.String" />
<Parameter Name="body" Type="System.ServiceModel.Channels.BodyWriter" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>An empty message is useful for an endpoint to send an alert to another endpoint without any actual content. </para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Creates a message with a body that consists of an array of bytes.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A <see cref="T:System.ServiceModel.Channels.Message" /> object for the message created. </para>
</returns>
<param name="version">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.ServiceModel.Channels.MessageVersion" /> object that specifies the SOAP version to use for the message. </param>
<param name="action">
<attribution license="cc4" from="Microsoft" modified="false" />A description of how the message should be processed. </param>
<param name="body">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.ServiceModel.Channels.BodyWriter" /> of type byte. </param>
</Docs>
</Member>
<Member MemberName="CreateMessage">
<MemberSignature Language="C#" Value="public static System.ServiceModel.Channels.Message CreateMessage (System.ServiceModel.Channels.MessageVersion version, string action, System.Xml.XmlDictionaryReader body);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.ServiceModel.Channels.Message CreateMessage(class System.ServiceModel.Channels.MessageVersion version, string action, class System.Xml.XmlDictionaryReader body) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ServiceModel.Channels.Message</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="version" Type="System.ServiceModel.Channels.MessageVersion" />
<Parameter Name="action" Type="System.String" />
<Parameter Name="body" Type="System.Xml.XmlDictionaryReader" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This static method is used to create a new copy of message ready for sending.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Creates a message with the specified version, action and body.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A <see cref="T:System.ServiceModel.Channels.Message" /> object for the message created. </para>
</returns>
<param name="version">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.ServiceModel.Channels.MessageVersion" /> object that specifies the SOAP version to use for the message. </param>
<param name="action">
<attribution license="cc4" from="Microsoft" modified="false" />A description of how the message should be processed. </param>
<param name="body">
<attribution license="cc4" from="Microsoft" modified="false" />The body of the message.</param>
</Docs>
</Member>
<Member MemberName="CreateMessage">
<MemberSignature Language="C#" Value="public static System.ServiceModel.Channels.Message CreateMessage (System.ServiceModel.Channels.MessageVersion version, string action, System.Xml.XmlReader body);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.ServiceModel.Channels.Message CreateMessage(class System.ServiceModel.Channels.MessageVersion version, string action, class System.Xml.XmlReader body) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ServiceModel.Channels.Message</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="version" Type="System.ServiceModel.Channels.MessageVersion" />
<Parameter Name="action" Type="System.String" />
<Parameter Name="body" Type="System.Xml.XmlReader" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This static method is used to create a new copy of message ready for sending.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Creates a message using the specified reader, action and version.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A <see cref="T:System.ServiceModel.Channels.Message" /> object for the message created. </para>
</returns>
<param name="version">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.ServiceModel.Channels.MessageVersion" /> object that specifies the SOAP version to use for the message. </param>
<param name="action">
<attribution license="cc4" from="Microsoft" modified="false" />A description of how the message should be processed. </param>
<param name="body">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Xml.XmlReader" /> object to be used for reading the SOAP message.</param>
</Docs>
</Member>
<Member MemberName="CreateMessage">
<MemberSignature Language="C#" Value="public static System.ServiceModel.Channels.Message CreateMessage (System.Xml.XmlDictionaryReader envelopeReader, int maxSizeOfHeaders, System.ServiceModel.Channels.MessageVersion version);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.ServiceModel.Channels.Message CreateMessage(class System.Xml.XmlDictionaryReader envelopeReader, int32 maxSizeOfHeaders, class System.ServiceModel.Channels.MessageVersion version) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ServiceModel.Channels.Message</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="envelopeReader" Type="System.Xml.XmlDictionaryReader" />
<Parameter Name="maxSizeOfHeaders" Type="System.Int32" />
<Parameter Name="version" Type="System.ServiceModel.Channels.MessageVersion" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>
<see cref="T:System.ServiceModel.Channels.Message" /> takes ownership of <paramref name="envelopeReader." /> </para>
<para>This method reads the envelope, buffers all the headers into the header collection, and reads up to but not including the Body start tag, and returns the message. If the method call throws an exception, it closes the reader. </para>
<para>The body of the returned message can then be either read or written. </para>
<para>The message body can be read using the <see cref="Overload:System.ServiceModel.Channels.Message.GetBody" /> methods on the returned message. The returned object encapsulates all the child elements within the Body element. The message body can be written using <see cref="M:System.ServiceModel.Channels.Message.WriteBody(System.Xml.XmlDictionaryWriter)" /> or <see cref="M:System.ServiceModel.Channels.Message.WriteMessage(System.Xml.XmlDictionaryWriter)" />. Once written, it cannot be read. </para>
<para>Closing the message closes the underlying envelope reader. </para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Creates a message using the specified reader, action and version.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A <see cref="T:System.ServiceModel.Channels.Message" /> object for the message created. </para>
</returns>
<param name="envelopeReader">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Xml.XmlDictionaryReader" /> object to be used for reading the SOAP message.</param>
<param name="maxSizeOfHeaders">
<attribution license="cc4" from="Microsoft" modified="false" />The maximum size in bytes of a header. </param>
<param name="version">
<attribution license="cc4" from="Microsoft" modified="false" />A valid <see cref="T:System.ServiceModel.Channels.MessageVersion" /> value that specifies the SOAP version to use for the message. </param>
</Docs>
</Member>
<Member MemberName="CreateMessage">
<MemberSignature Language="C#" Value="public static System.ServiceModel.Channels.Message CreateMessage (System.Xml.XmlReader envelopeReader, int maxSizeOfHeaders, System.ServiceModel.Channels.MessageVersion version);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.ServiceModel.Channels.Message CreateMessage(class System.Xml.XmlReader envelopeReader, int32 maxSizeOfHeaders, class System.ServiceModel.Channels.MessageVersion version) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ServiceModel.Channels.Message</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="envelopeReader" Type="System.Xml.XmlReader" />
<Parameter Name="maxSizeOfHeaders" Type="System.Int32" />
<Parameter Name="version" Type="System.ServiceModel.Channels.MessageVersion" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>
<see cref="T:System.ServiceModel.Channels.Message" /> takes ownership of <paramref name="envelopeReader." /> </para>
<para>This method reads the envelope, buffers all the headers into the header collection, and reads up to but not including the Body start tag, and returns the message. If the method call throws an exception, it closes the reader. </para>
<para>The body of the returned message can then be either read or written. </para>
<para>The message body can be read using the <see cref="Overload:System.ServiceModel.Channels.Message.GetBody" /> methods on the returned message. The returned object encapsulates all the child elements within the Body element. The message body can be written using <see cref="M:System.ServiceModel.Channels.Message.WriteBody(System.Xml.XmlDictionaryWriter)" /> or <see cref="M:System.ServiceModel.Channels.Message.WriteMessage(System.Xml.XmlDictionaryWriter)" />. Once written, it cannot be read. </para>
<para>Closing the message closes the underlying envelope reader. </para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Creates a message using the specified reader, action and version.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A <see cref="T:System.ServiceModel.Channels.Message" /> object for the message created. </para>
</returns>
<param name="envelopeReader">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Xml.XmlReader" /> object to be used for reading the SOAP message.</param>
<param name="maxSizeOfHeaders">
<attribution license="cc4" from="Microsoft" modified="false" />The maximum size in bytes of a header. </param>
<param name="version">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.ServiceModel.Channels.MessageVersion" /> object that specifies the SOAP version to use for the message. </param>
</Docs>
</Member>
<Member MemberName="CreateMessage">
<MemberSignature Language="C#" Value="public static System.ServiceModel.Channels.Message CreateMessage (System.ServiceModel.Channels.MessageVersion version, System.ServiceModel.FaultCode code, string reason, string action);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.ServiceModel.Channels.Message CreateMessage(class System.ServiceModel.Channels.MessageVersion version, class System.ServiceModel.FaultCode code, string reason, string action) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ServiceModel.Channels.Message</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="version" Type="System.ServiceModel.Channels.MessageVersion" />
<Parameter Name="code" Type="System.ServiceModel.FaultCode" />
<Parameter Name="reason" Type="System.String" />
<Parameter Name="action" Type="System.String" />
</Parameters>
<Docs>
<param name="code">To be added.</param>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This static method is used to create a new copy of message ready for sending.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Creates a message that contains a SOAP fault, the reason for the fault, a version and an action.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A <see cref="T:System.ServiceModel.Channels.Message" /> object for the message created. </para>
</returns>
<param name="version">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.ServiceModel.Channels.MessageVersion" /> object that specifies the SOAP version to use for the message.</param>
<param name="reason">
<attribution license="cc4" from="Microsoft" modified="false" />The reason of the SOAP fault. </param>
<param name="action">
<attribution license="cc4" from="Microsoft" modified="false" />A description of how the message should be processed.</param>
</Docs>
</Member>
<Member MemberName="CreateMessage">
<MemberSignature Language="C#" Value="public static System.ServiceModel.Channels.Message CreateMessage (System.ServiceModel.Channels.MessageVersion version, string action, object body, System.Runtime.Serialization.XmlObjectSerializer xmlFormatter);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.ServiceModel.Channels.Message CreateMessage(class System.ServiceModel.Channels.MessageVersion version, string action, object body, class System.Runtime.Serialization.XmlObjectSerializer xmlFormatter) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ServiceModel.Channels.Message</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="version" Type="System.ServiceModel.Channels.MessageVersion" />
<Parameter Name="action" Type="System.String" />
<Parameter Name="body" Type="System.Object" />
<Parameter Name="xmlFormatter" Type="System.Runtime.Serialization.XmlObjectSerializer" />
</Parameters>
<Docs>
<param name="xmlFormatter">To be added.</param>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This static method is used to create a new copy of message ready for sending. </para>
<para>When working with JSON messages use the <see cref="M:System.ServiceModel.Channels.Message.CreateMessage(System.ServiceModel.Channels.MessageVersion,System.String,System.Object,System.Runtime.Serialization.XmlObjectSerializer)" /> method, the <see cref="M:System.ServiceModel.Channels.Message.CreateMessage(System.ServiceModel.Channels.MessageVersion,System.String,System.Object)" /> method does not work with JSON messages.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Creates a message using the specified version, action, message body and serializer.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A <see cref="T:System.ServiceModel.Channels.Message" /> object for the message created. </para>
</returns>
<param name="version">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.ServiceModel.Channels.MessageVersion" /> object that specifies the SOAP version to use for the message. </param>
<param name="action">
<attribution license="cc4" from="Microsoft" modified="false" />A description of how the message should be processed. </param>
<param name="body">
<attribution license="cc4" from="Microsoft" modified="false" />The body of the message. </param>
</Docs>
</Member>
<Member MemberName="CreateMessage">
<MemberSignature Language="C#" Value="public static System.ServiceModel.Channels.Message CreateMessage (System.ServiceModel.Channels.MessageVersion version, System.ServiceModel.FaultCode code, string reason, object detail, string action);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.ServiceModel.Channels.Message CreateMessage(class System.ServiceModel.Channels.MessageVersion version, class System.ServiceModel.FaultCode code, string reason, object detail, string action) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ServiceModel.Channels.Message</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="version" Type="System.ServiceModel.Channels.MessageVersion" />
<Parameter Name="code" Type="System.ServiceModel.FaultCode" />
<Parameter Name="reason" Type="System.String" />
<Parameter Name="detail" Type="System.Object" />
<Parameter Name="action" Type="System.String" />
</Parameters>
<Docs>
<param name="code">To be added.</param>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This static method is used to create a new copy of message ready for sending.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Creates a message that contains a SOAP fault, a reason and the detail for the fault, a version and an action.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A <see cref="T:System.ServiceModel.Channels.Message" /> object for the message created. </para>
</returns>
<param name="version">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.ServiceModel.Channels.MessageVersion" /> object that specifies the SOAP version to use for the message.</param>
<param name="reason">
<attribution license="cc4" from="Microsoft" modified="false" />The reason of the SOAP fault. </param>
<param name="detail">
<attribution license="cc4" from="Microsoft" modified="false" />The details of the SOAP fault.</param>
<param name="action">
<attribution license="cc4" from="Microsoft" modified="false" />A description of how the message should be processed.</param>
</Docs>
</Member>
<Member MemberName="GetBody<T>">
<MemberSignature Language="C#" Value="public T GetBody<T> ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance !!T GetBody<T>() cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>T</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="T" />
</TypeParameters>
<Parameters />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A <see cref="T:System.ServiceModel.Channels.Message" /> instance has a body that corresponds to the SOAP body. It can be accessed as an <see cref="T:System.Xml.XmlDictionaryReader" /> by calling <see cref="M:System.ServiceModel.Channels.Message.GetReaderAtBodyContents" />. It is initially positioned directly after the <S:Body> element, and it returns EOF on reaching the </S:Body> element. Alternatively, if you expect the body to contain a serialized object, you can call <see cref="Overload:System.ServiceModel.Channels.Message.GetBody" /> instead. You should be aware that a message body can only be accessed once and a message can only be written once. If you want to access the Body multiple times, use <see cref="M:System.ServiceModel.Channels.Message.CreateBufferedCopy(System.Int32)" /> to create a <see cref="T:System.ServiceModel.Channels.MessageBuffer" /> instance. </para>
<para>Use the <see cref="M:System.ServiceModel.Channels.Message.GetBody``1(System.Runtime.Serialization.XmlObjectSerializer)" /> overload when working with JSON messages; the <see cref="M:System.ServiceModel.Channels.Message.GetBody``1" /> overload does not work.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Retrieves the body of this <see cref="T:System.ServiceModel.Channels.Message" /> instance.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>An object of type <paramref name="T" /> that contains the body of this message.</para>
</returns>
<typeparam name="T">
<attribution license="cc4" from="Microsoft" modified="false" />The body of the message.</typeparam>
</Docs>
</Member>
<Member MemberName="GetBody<T>">
<MemberSignature Language="C#" Value="public T GetBody<T> (System.Runtime.Serialization.XmlObjectSerializer xmlFormatter);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance !!T GetBody<T>(class System.Runtime.Serialization.XmlObjectSerializer xmlFormatter) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>T</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="T" />
</TypeParameters>
<Parameters>
<Parameter Name="xmlFormatter" Type="System.Runtime.Serialization.XmlObjectSerializer" />
</Parameters>
<Docs>
<param name="xmlFormatter">To be added.</param>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A <see cref="T:System.ServiceModel.Channels.Message" /> instance has a body that corresponds to the SOAP body. It can be accessed as an <see cref="T:System.Xml.XmlDictionaryReader" /> by calling <see cref="M:System.ServiceModel.Channels.Message.GetReaderAtBodyContents" />. It is initially positioned directly after the <S:Body> element, and it returns EOF on reaching the </S:Body> element. Alternatively, if you expect the body to contain a serialized object, you can call <see cref="Overload:System.ServiceModel.Channels.Message.GetBody" /> instead. You should be aware that a message body can only be accessed once and a message can only be written once. If you want to access the body multiple times, use <see cref="M:System.ServiceModel.Channels.Message.CreateBufferedCopy(System.Int32)" /> to create a <see cref="T:System.ServiceModel.Channels.MessageBuffer" /> instance. </para>
<para>Use the <see cref="M:System.ServiceModel.Channels.Message.GetBody``1(System.Runtime.Serialization.XmlObjectSerializer)" /> overload when working with JSON messages; the <see cref="M:System.ServiceModel.Channels.Message.GetBody``1" /> overload does not work.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Retrieves the body of this <see cref="T:System.ServiceModel.Channels.Message" /> using the specified serializer.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>An object of type <paramref name="T" /> that contains the body of this message.</para>
</returns>
<typeparam name="T">
<attribution license="cc4" from="Microsoft" modified="false" />The body of the message.</typeparam>
</Docs>
</Member>
<Member MemberName="GetBodyAttribute">
<MemberSignature Language="C#" Value="public string GetBodyAttribute (string localName, string ns);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance string GetBodyAttribute(string localName, string ns) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="localName" Type="System.String" />
<Parameter Name="ns" Type="System.String" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A <see cref="T:System.ServiceModel.Channels.Message" /> instance has a body that corresponds to the SOAP body. It can be accessed as an <see cref="T:System.Xml.XmlDictionaryReader" /> by calling <see cref="M:System.ServiceModel.Channels.Message.GetReaderAtBodyContents" />. It is initially positioned directly after the <S:Body> element, and it returns EOF on reaching the </S:Body> element. Alternatively, if you expect the body to contain a serialized object, you can call <see cref="Overload:System.ServiceModel.Channels.Message.GetBody" /> instead. You should be aware that a message body can only be accessed once and a message can only be written once. If you want to access the body multiple times, use <see cref="M:System.ServiceModel.Channels.Message.CreateBufferedCopy(System.Int32)" /> to create a <see cref="T:System.ServiceModel.Channels.MessageBuffer" /> instance. </para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Retrieves the attributes of the message body.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The attributes of the message body.</para>
</returns>
<param name="localName">
<attribution license="cc4" from="Microsoft" modified="false" />The local name of the XML node.</param>
<param name="ns">
<attribution license="cc4" from="Microsoft" modified="false" />The namespace to which this XML element belongs.</param>
</Docs>
</Member>
<Member MemberName="GetReaderAtBodyContents">
<MemberSignature Language="C#" Value="public System.Xml.XmlDictionaryReader GetReaderAtBodyContents ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Xml.XmlDictionaryReader GetReaderAtBodyContents() cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Xml.XmlDictionaryReader</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A <see cref="T:System.ServiceModel.Channels.Message" /> instance has a body that corresponds to the SOAP body. It can be accessed as an <see cref="T:System.Xml.XmlDictionaryReader" /> by calling <see cref="M:System.ServiceModel.Channels.Message.GetReaderAtBodyContents" />. It is initially positioned directly after the <S:Body> element. Alternatively, if you expect the body to contain a serialized object, you can call <see cref="Overload:System.ServiceModel.Channels.Message.GetBody" /> instead. You should be aware that a message body can only be accessed once and a message can only be written once. If you want to access the body multiple times, use <see cref="M:System.ServiceModel.Channels.Message.CreateBufferedCopy(System.Int32)" /> to create a <see cref="T:System.ServiceModel.Channels.MessageBuffer" /> instance. </para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the XML dictionary reader that accesses the body content of this message.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A <see cref="T:System.Xml.XmlDictionaryReader" /> object that accesses the body content of this message.</para>
</returns>
</Docs>
</Member>
<Member MemberName="Headers">
<MemberSignature Language="C#" Value="public abstract System.ServiceModel.Channels.MessageHeaders Headers { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.ServiceModel.Channels.MessageHeaders Headers" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ServiceModel.Channels.MessageHeaders</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A <see cref="T:System.ServiceModel.Channels.Message" /> can have zero or more headers that are used as an extension mechanism to pass information in messages that is application-specific. You can use <see cref="P:System.ServiceModel.Channels.Message.Headers" /> to add message headers to a message by calling the <see cref="M:System.ServiceModel.Channels.MessageHeaders.Add(System.ServiceModel.Channels.MessageHeader)" /> method.</para>
<para>indigo1 provides a number of predefined message headers, as shown in the following table. </para>
<list type="table">
<listheader>
<item>
<term>
<para>Header Name</para>
</term>
<description>
<para>Contains the header name.</para>
</description>
</item>
</listheader>
<item>
<term>
<para>To</para>
</term>
<description>
<para>Contains the role that the message is targeting.</para>
</description>
</item>
<item>
<term>
<para>Action</para>
</term>
<description>
<para>Provides a description of how the message should be processed.</para>
</description>
</item>
<item>
<term>
<para>FaultTo</para>
</term>
<description>
<para>Contains the address of the node to which faults should be sent.</para>
</description>
</item>
<item>
<term>
<para>From</para>
</term>
<description>
<para>Contains the address of the node that sent the message.</para>
</description>
</item>
<item>
<term>
<para>Request </para>
</term>
<description>
<para>Indicates whether the message is a request. </para>
</description>
</item>
<item>
<term>
<para>MessageID </para>
</term>
<description>
<para>Contains the unique ID of the message. </para>
</description>
</item>
<item>
<term>
<para>RelatesTo </para>
</term>
<description>
<para>Contains the IDs of messages that are related to this message. </para>
</description>
</item>
<item>
<term>
<para>ReplyTo </para>
</term>
<description>
<para>Contains the address of the node to which a reply should be sent for a request. </para>
</description>
</item>
</list>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>When overridden in a derived class, gets the headers of the message. </para>
</summary>
</Docs>
</Member>
<Member MemberName="IsDisposed">
<MemberSignature Language="C#" Value="protected bool IsDisposed { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool IsDisposed" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Returns a value that indicates whether the <see cref="T:System.ServiceModel.Channels.Message" /> is disposed. </para>
</summary>
</Docs>
</Member>
<Member MemberName="IsEmpty">
<MemberSignature Language="C#" Value="public virtual bool IsEmpty { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool IsEmpty" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Returns a value that indicates whether the <see cref="T:System.ServiceModel.Channels.Message" /> is empty. </para>
</summary>
</Docs>
</Member>
<Member MemberName="IsFault">
<MemberSignature Language="C#" Value="public virtual bool IsFault { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool IsFault" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets a value that indicates whether this message generates any SOAP faults.</para>
</summary>
</Docs>
</Member>
<Member MemberName="OnBodyToString">
<MemberSignature Language="C#" Value="protected virtual void OnBodyToString (System.Xml.XmlDictionaryWriter writer);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnBodyToString(class System.Xml.XmlDictionaryWriter writer) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="writer" Type="System.Xml.XmlDictionaryWriter" />
</Parameters>
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Called when the message body is converted to a string.</para>
</summary>
<param name="writer">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Xml.XmlDictionaryWriter" /> that is used to convert the message body to a string. </param>
</Docs>
</Member>
<Member MemberName="OnClose">
<MemberSignature Language="C#" Value="protected virtual void OnClose ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnClose() cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Called when the message is closing.</para>
</summary>
</Docs>
</Member>
<Member MemberName="OnCreateBufferedCopy">
<MemberSignature Language="C#" Value="protected virtual System.ServiceModel.Channels.MessageBuffer OnCreateBufferedCopy (int maxBufferSize);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance class System.ServiceModel.Channels.MessageBuffer OnCreateBufferedCopy(int32 maxBufferSize) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ServiceModel.Channels.MessageBuffer</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="maxBufferSize" Type="System.Int32" />
</Parameters>
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Called when a message buffer is created to store this message.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A <see cref="T:System.ServiceModel.Channels.MessageBuffer" /> object for the newly created message copy.</para>
</returns>
<param name="maxBufferSize">
<attribution license="cc4" from="Microsoft" modified="false" />The maximum size of the buffer to be created.</param>
</Docs>
</Member>
<Member MemberName="OnGetBody<T>">
<MemberSignature Language="C#" Value="protected virtual T OnGetBody<T> (System.Xml.XmlDictionaryReader reader);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance !!T OnGetBody<T>(class System.Xml.XmlDictionaryReader reader) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>T</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="T" />
</TypeParameters>
<Parameters>
<Parameter Name="reader" Type="System.Xml.XmlDictionaryReader" />
</Parameters>
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Called when the body of the message is retrieved.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A <see cref="T:System.ServiceModel.Channels.MessageBuffer" /> that represents the body of the message.</para>
</returns>
<param name="reader">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Xml.XmlDictionaryReader)" /> object used to read the body of the message.</param>
<typeparam name="T">
<attribution license="cc4" from="Microsoft" modified="false" />The type of the message body.</typeparam>
</Docs>
</Member>
<Member MemberName="OnGetBodyAttribute">
<MemberSignature Language="C#" Value="protected virtual string OnGetBodyAttribute (string localName, string ns);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance string OnGetBodyAttribute(string localName, string ns) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="localName" Type="System.String" />
<Parameter Name="ns" Type="System.String" />
</Parameters>
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Called when the attributes of the message body is retrieved.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The attributes of the message body.</para>
</returns>
<param name="localName">
<attribution license="cc4" from="Microsoft" modified="false" />The local name of the XML node.</param>
<param name="ns">
<attribution license="cc4" from="Microsoft" modified="false" />The namespace to which this XML element belongs.</param>
</Docs>
</Member>
<Member MemberName="OnGetReaderAtBodyContents">
<MemberSignature Language="C#" Value="protected virtual System.Xml.XmlDictionaryReader OnGetReaderAtBodyContents ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance class System.Xml.XmlDictionaryReader OnGetReaderAtBodyContents() cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Xml.XmlDictionaryReader</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Called when an XML dictionary reader that accesses the body content of this message is retrieved.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A <see cref="T:System.Xml.XmlDictionaryReader" /> object that accesses the body content of this message.</para>
</returns>
</Docs>
</Member>
<Member MemberName="OnWriteBodyContents">
<MemberSignature Language="C#" Value="protected abstract void OnWriteBodyContents (System.Xml.XmlDictionaryWriter writer);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnWriteBodyContents(class System.Xml.XmlDictionaryWriter writer) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="writer" Type="System.Xml.XmlDictionaryWriter" />
</Parameters>
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Called when the message body is written to an XML file.</para>
</summary>
<param name="writer">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Xml.XmlDictionaryWriter" /> that is used to write this message body to an XML file.</param>
</Docs>
</Member>
<Member MemberName="OnWriteMessage">
<MemberSignature Language="C#" Value="protected virtual void OnWriteMessage (System.Xml.XmlDictionaryWriter writer);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnWriteMessage(class System.Xml.XmlDictionaryWriter writer) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="writer" Type="System.Xml.XmlDictionaryWriter" />
</Parameters>
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Called when the entire message is written to an XML file.</para>
</summary>
<param name="writer">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Xml.XmlDictionaryWriter" /> that is used to write this message to an XML file.</param>
</Docs>
</Member>
<Member MemberName="OnWriteStartBody">
<MemberSignature Language="C#" Value="protected virtual void OnWriteStartBody (System.Xml.XmlDictionaryWriter writer);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnWriteStartBody(class System.Xml.XmlDictionaryWriter writer) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="writer" Type="System.Xml.XmlDictionaryWriter" />
</Parameters>
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Called when the start body is written to an XML file.</para>
</summary>
<param name="writer">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Xml.XmlDictionaryWriter" /> that is used to write the start body to an XML file.</param>
</Docs>
</Member>
<Member MemberName="OnWriteStartEnvelope">
<MemberSignature Language="C#" Value="protected virtual void OnWriteStartEnvelope (System.Xml.XmlDictionaryWriter writer);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnWriteStartEnvelope(class System.Xml.XmlDictionaryWriter writer) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="writer" Type="System.Xml.XmlDictionaryWriter" />
</Parameters>
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Called when the start envelope is written to an XML file.</para>
</summary>
<param name="writer">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Xml.XmlDictionaryWriter" /> that is used to write the start envelope to an XML file.</param>
</Docs>
</Member>
<Member MemberName="OnWriteStartHeaders">
<MemberSignature Language="C#" Value="protected virtual void OnWriteStartHeaders (System.Xml.XmlDictionaryWriter writer);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnWriteStartHeaders(class System.Xml.XmlDictionaryWriter writer) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="writer" Type="System.Xml.XmlDictionaryWriter" />
</Parameters>
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Called when the start header is written to an XML file.</para>
</summary>
<param name="writer">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Xml.XmlDictionaryWriter" /> that is used to write the start header to an XML file.</param>
</Docs>
</Member>
<Member MemberName="Properties">
<MemberSignature Language="C#" Value="public abstract System.ServiceModel.Channels.MessageProperties Properties { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.ServiceModel.Channels.MessageProperties Properties" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ServiceModel.Channels.MessageProperties</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Because information in headers is transmitted on the wire, an entity that examines a header must support the underlying version(s) of the protocols used by the header. However, properties provide a more version-independent way of annotating a message.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>When overridden in a derived class, gets a set of processing-level annotations to the message. </para>
</summary>
</Docs>
</Member>
<Member MemberName="State">
<MemberSignature Language="C#" Value="public System.ServiceModel.Channels.MessageState State { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.ServiceModel.Channels.MessageState State" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ServiceModel.Channels.MessageState</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Because the body of a <see cref="T:System.ServiceModel.Channels.Message" /> object is a stream, it can only be read or written once. This is enforced by maintaining the current state of the <see cref="T:System.ServiceModel.Channels.Message" /> object. A <see cref="T:System.ServiceModel.Channels.Message" /> object can be read, written, or copied when in the <see cref="F:System.ServiceModel.Channels.MessageState.Created" /> state. Other states are <see cref="F:System.ServiceModel.Channels.MessageState.Read" />, <see cref="F:System.ServiceModel.Channels.MessageState.Written" /> and <see cref="F:System.ServiceModel.Channels.MessageState.Copied" />, which means that the respective action has been performed already once. </para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the current state of this <see cref="T:System.ServiceModel.Channels.Message" />.</para>
</summary>
</Docs>
</Member>
<Member MemberName="System.IDisposable.Dispose">
<MemberSignature Language="C#" Value="void IDisposable.Dispose ();" />
<MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void System.IDisposable.Dispose() cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Call this method when you are finished using the <see cref="T:System.ServiceModel.Channels.Message" />. This method leaves the <see cref="T:System.ServiceModel.Channels.Message" /> in an unusable state. After calling this method, you must release all references to the <see cref="T:System.ServiceModel.Channels.Message" /> so the garbage collector can reclaim the memory that the <see cref="T:System.ServiceModel.Channels.Message" /> resided in. </para>
<block subset="none" type="note">
<para>Always call this method before you release your last reference to the <see cref="T:System.ServiceModel.Channels.Message" />. Otherwise, the resources it is using are not freed until the garbage collector calls the <see cref="T:System.ServiceModel.Channels.Message" /> object's Finalize method.</para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Closes all the resources used by this message. This method cannot be inherited.</para>
</summary>
</Docs>
</Member>
<Member MemberName="ToString">
<MemberSignature Language="C#" Value="public override string ToString ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance string ToString() cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Returns a string that represents the current <see cref="T:System.ServiceModel.Channels.Message" /> instance. </para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The string representation of the current <see cref="T:System.ServiceModel.Channels.Message" /> instance. </para>
</returns>
</Docs>
</Member>
<Member MemberName="Version">
<MemberSignature Language="C#" Value="public abstract System.ServiceModel.Channels.MessageVersion Version { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.ServiceModel.Channels.MessageVersion Version" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ServiceModel.Channels.MessageVersion</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This value is immutable for the message. There are two possible values for the version: <see cref="P:System.ServiceModel.Channels.MessageVersion.Soap11" /> and <see cref="P:System.ServiceModel.Channels.MessageVersion.Soap12" /> that correspond to SOAP 1.1 and SOAP 1.2 respectively. </para>
<para>Knowing the underlying SOAP version is important because the structure of <see cref="T:System.ServiceModel.Channels.Message" /> is firmly correlated with that of a SOAP message. </para>
<block subset="none" type="note">
<para>Inheritors must note that when overridden in a derived class, this method returns a <see cref="T:System.ServiceModel.Channels.MessageVersion" /> object for the SOAP version of the message.</para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>When overridden in a derived class, gets the SOAP version of the message.</para>
</summary>
</Docs>
</Member>
<Member MemberName="WriteBody">
<MemberSignature Language="C#" Value="public void WriteBody (System.Xml.XmlDictionaryWriter writer);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void WriteBody(class System.Xml.XmlDictionaryWriter writer) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="writer" Type="System.Xml.XmlDictionaryWriter" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This method writes the body contents as well as the start and end tags of the element. </para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Writes the body element using the specified <see cref="T:System.Xml.XmlDictionaryWriter" />. </para>
</summary>
<param name="writer">
<attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.Xml.XmlDictionaryWriter" /> object to be used to write the body element.</param>
</Docs>
</Member>
<Member MemberName="WriteBody">
<MemberSignature Language="C#" Value="public void WriteBody (System.Xml.XmlWriter writer);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void WriteBody(class System.Xml.XmlWriter writer) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="writer" Type="System.Xml.XmlWriter" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This method writes the body contents as well as the start and end tags of the element. </para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Serializes the message body using the specified <see cref="T:System.Xml.XmlWriter" />. </para>
</summary>
<param name="writer">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Xml.XmlWriter" /> object to be used to write the body of the message.</param>
</Docs>
</Member>
<Member MemberName="WriteBodyContents">
<MemberSignature Language="C#" Value="public void WriteBodyContents (System.Xml.XmlDictionaryWriter writer);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void WriteBodyContents(class System.Xml.XmlDictionaryWriter writer) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="writer" Type="System.Xml.XmlDictionaryWriter" />
</Parameters>
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Serializes the body content using the specified <see cref="T:System.Xml.XmlDictionaryWriter" />. </para>
</summary>
<param name="writer">
<attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.Xml.XmlDictionaryWriter" /> object to be used to write the body element.</param>
</Docs>
</Member>
<Member MemberName="WriteMessage">
<MemberSignature Language="C#" Value="public void WriteMessage (System.Xml.XmlDictionaryWriter writer);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void WriteMessage(class System.Xml.XmlDictionaryWriter writer) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="writer" Type="System.Xml.XmlDictionaryWriter" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This method serializes the entire message. Once a message is written, it cannot be rewritten unless a <see cref="T:System.ServiceModel.Channels.MessageBuffer" /> instance exists for the message. </para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Serializes the entire message using the specified <see cref="T:System.Xml.XmlDictionaryWriter" />. </para>
</summary>
<param name="writer">
<attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.Xml.XmlDictionaryWriter" /> object to be used to write the message.</param>
</Docs>
</Member>
<Member MemberName="WriteMessage">
<MemberSignature Language="C#" Value="public void WriteMessage (System.Xml.XmlWriter writer);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void WriteMessage(class System.Xml.XmlWriter writer) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="writer" Type="System.Xml.XmlWriter" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This method serializes the entire message. Once a message is written, it cannot be rewritten unless there is a <see cref="T:System.ServiceModel.Channels.MessageBuffer" /> for the message. </para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Serializes the entire message using the specified <see cref="T:System.Xml.XmlWriter" />. </para>
</summary>
<param name="writer">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Xml.XmlWriter" /> object to be used to write the entire message.</param>
</Docs>
</Member>
<Member MemberName="WriteStartBody">
<MemberSignature Language="C#" Value="public void WriteStartBody (System.Xml.XmlDictionaryWriter writer);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void WriteStartBody(class System.Xml.XmlDictionaryWriter writer) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="writer" Type="System.Xml.XmlDictionaryWriter" />
</Parameters>
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Serializes the start body of the message using the specified <see cref="T:System.Xml.XmlDictionaryWriter" />. </para>
</summary>
<param name="writer">
<attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.Xml.XmlDictionaryWriter" /> object to be used to write the start body.</param>
</Docs>
</Member>
<Member MemberName="WriteStartBody">
<MemberSignature Language="C#" Value="public void WriteStartBody (System.Xml.XmlWriter writer);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void WriteStartBody(class System.Xml.XmlWriter writer) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="writer" Type="System.Xml.XmlWriter" />
</Parameters>
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Serializes the start body of the message using the specified <see cref="T:System.Xml.XmlDictionaryWriter" />. </para>
</summary>
<param name="writer">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Xml.XmlDictionaryWriter" /> object to be used to write the start body of the message.</param>
</Docs>
</Member>
<Member MemberName="WriteStartEnvelope">
<MemberSignature Language="C#" Value="public void WriteStartEnvelope (System.Xml.XmlDictionaryWriter writer);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void WriteStartEnvelope(class System.Xml.XmlDictionaryWriter writer) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="writer" Type="System.Xml.XmlDictionaryWriter" />
</Parameters>
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Serializes the start envelope using the specified <see cref="T:System.Xml.XmlDictionaryWriter" />. </para>
</summary>
<param name="writer">
<attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.Xml.XmlDictionaryWriter" /> object to be used to write the start envelope.</param>
</Docs>
</Member>
</Members>
</Type>
|