﻿<?xml version="1.0" encoding="utf-8"?><Type Name="MessagePartSpecification" FullName="System.ServiceModel.Security.MessagePartSpecification"><TypeSignature Language="C#" Value="public class MessagePartSpecification" /><TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit MessagePartSpecification extends System.Object" /><AssemblyInfo><AssemblyName>System.ServiceModel</AssemblyName><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Base><BaseTypeName>System.Object</BaseTypeName></Base><Interfaces /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This specification is used to indicate which message parts need to be signed and which parts need to be encrypted.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Specifies which parts are included in a message.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public MessagePartSpecification ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig 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 an empty <see cref="T:System.ServiceModel.Security.MessagePartSpecification" />.</para></summary></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public MessagePartSpecification (bool isBodyIncluded);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(bool isBodyIncluded) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Parameters><Parameter Name="isBodyIncluded" Type="System.Boolean" /></Parameters><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new <see cref="T:System.ServiceModel.Security.MessagePartSpecification" /> and specifies whether the message body is included.</para></summary><param name="isBodyIncluded"><attribution license="cc4" from="Microsoft" modified="false" />Initializes whether the message body is included in the specification.</param></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public MessagePartSpecification (System.Xml.XmlQualifiedName[] headerTypes);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Xml.XmlQualifiedName[] headerTypes) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Parameters><Parameter Name="headerTypes" Type="System.Xml.XmlQualifiedName[]"><Attributes><Attribute><AttributeName>System.ParamArray</AttributeName></Attribute></Attributes></Parameter></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Each header is specified using its name and namespace.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new <see cref="T:System.ServiceModel.Security.MessagePartSpecification" /> with an array of message headers.</para></summary><param name="headerTypes"><attribution license="cc4" from="Microsoft" modified="false" />The array of header types to use.</param></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public MessagePartSpecification (bool isBodyIncluded, System.Xml.XmlQualifiedName[] headerTypes);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(bool isBodyIncluded, class System.Xml.XmlQualifiedName[] headerTypes) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Parameters><Parameter Name="isBodyIncluded" Type="System.Boolean" /><Parameter Name="headerTypes" Type="System.Xml.XmlQualifiedName[]"><Attributes><Attribute><AttributeName>System.ParamArray</AttributeName></Attribute></Attributes></Parameter></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Each header is specified using its name and namespace. In addition, the <paramref name="isBodyIncluded" /> parameter specifies whether the message body is to be included or not.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new <see cref="T:System.ServiceModel.Security.MessagePartSpecification" /> with an array of message headers.  </para></summary><param name="isBodyIncluded"><attribution license="cc4" from="Microsoft" modified="false" />Initializes whether the message body is included in the specification.</param><param name="headerTypes"><attribution license="cc4" from="Microsoft" modified="false" />The array of header types to use.</param></Docs></Member><Member MemberName="Clear"><MemberSignature Language="C#" Value="public void Clear ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Clear() 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>Clears the list of headers in this specification.</para></summary></Docs></Member><Member MemberName="HeaderTypes"><MemberSignature Language="C#" Value="public System.Collections.Generic.ICollection&lt;System.Xml.XmlQualifiedName&gt; HeaderTypes { get; }" /><MemberSignature Language="ILAsm" Value=".property instance class System.Collections.Generic.ICollection`1&lt;class System.Xml.XmlQualifiedName&gt; HeaderTypes" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Collections.Generic.ICollection&lt;System.Xml.XmlQualifiedName&gt;</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the header types for this specification.</para></summary></Docs></Member><Member MemberName="IsBodyIncluded"><MemberSignature Language="C#" Value="public bool IsBodyIncluded { get; set; }" /><MemberSignature Language="ILAsm" Value=".property instance bool IsBodyIncluded" /><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 or sets a value that indicates whether the message body is included in this specification.</para></summary></Docs></Member><Member MemberName="IsReadOnly"><MemberSignature Language="C#" Value="public bool IsReadOnly { get; }" /><MemberSignature Language="ILAsm" Value=".property instance bool IsReadOnly" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>You can use <see cref="M:System.ServiceModel.Security.MessagePartSpecification.MakeReadOnly" /> to set this property to true. <see cref="M:System.ServiceModel.Security.MessagePartSpecification.Clear" /> sets the property to false.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets a value that indicates whether the specification is read only.</para></summary></Docs></Member><Member MemberName="MakeReadOnly"><MemberSignature Language="C#" Value="public void MakeReadOnly ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig instance void MakeReadOnly() 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><see cref="M:System.ServiceModel.Security.MessagePartSpecification.Clear" /> removes all headers in the specification and makes the collection read/write.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Sets the specification to read only.</para></summary></Docs></Member><Member MemberName="NoParts"><MemberSignature Language="C#" Value="public static System.ServiceModel.Security.MessagePartSpecification NoParts { get; }" /><MemberSignature Language="ILAsm" Value=".property class System.ServiceModel.Security.MessagePartSpecification NoParts" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.ServiceModel.Security.MessagePartSpecification</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>If this property is null, a new empty instance of this class is created.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para> Gets an empty instance of this class. </para></summary></Docs></Member><Member MemberName="Union"><MemberSignature Language="C#" Value="public void Union (System.ServiceModel.Security.MessagePartSpecification other);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Union(class System.ServiceModel.Security.MessagePartSpecification other) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="other" Type="System.ServiceModel.Security.MessagePartSpecification" /></Parameters><Docs><param name="other">To be added.</param><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>After the <see cref="M:System.ServiceModel.Security.MessagePartSpecification.Union(System.ServiceModel.Security.MessagePartSpecification)" /> method is called, the <see cref="T:System.ServiceModel.Security.MessagePartSpecification" /> holds all header information from both specifications, and the <see cref="P:System.ServiceModel.Security.MessagePartSpecification.IsBodyIncluded" /> property is set to the logical OR of both specifications.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Merges two message part specifications.</para></summary></Docs></Member></Members></Type>