private void ReadMessageMimeVersionHeader(MimeVersionHeader header)
 {
     if ((header != null) && (header.Version != MimeVersionHeader.Default.Version))
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(System.Runtime.Serialization.SR.GetString("MtomMessageInvalidMimeVersion", new object[] { header.Version, MimeVersionHeader.Default.Version })));
     }
 }
Exemplo n.º 2
0
 void ReadMessageMimeVersionHeader(MimeVersionHeader header)
 {
     if (header != null && header.Version != MimeVersionHeader.Default.Version)
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SR.GetString(SR.MtomMessageInvalidMimeVersion, header.Version, MimeVersionHeader.Default.Version)));
 }