﻿<?xml version="1.0" encoding="utf-8"?><Type Name="AttachmentBase" FullName="System.Net.Mail.AttachmentBase"><TypeSignature Language="C#" Value="public abstract class AttachmentBase : IDisposable" /><TypeSignature Language="ILAsm" Value=".class public auto ansi abstract beforefieldinit AttachmentBase extends System.Object implements class System.IDisposable" /><AssemblyInfo><AssemblyName>System</AssemblyName><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Base><BaseTypeName>System.Object</BaseTypeName></Base><Interfaces><Interface><InterfaceName>System.IDisposable</InterfaceName></Interface></Interfaces><Docs><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Base class that represents an email attachment. Classes <see cref="T:System.Net.Mail.Attachment" />, <see cref="T:System.Net.Mail.AlternateView" />, and <see cref="T:System.Net.Mail.LinkedResource" /> derive from this class.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="protected AttachmentBase (System.IO.Stream contentStream);" /><MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(class System.IO.Stream contentStream) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Parameters><Parameter Name="contentStream" Type="System.IO.Stream" /></Parameters><Docs><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Instantiates an <see cref="T:System.Net.Mail.AttachmentBase" /> with the specified <see cref="T:System.IO.Stream" />.</para></summary><param name="contentStream"><attribution license="cc4" from="Microsoft" modified="false" />A stream containing the content for this attachment.</param></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="protected AttachmentBase (string fileName);" /><MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(string fileName) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Parameters><Parameter Name="fileName" Type="System.String" /></Parameters><Docs><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Instantiates an <see cref="T:System.Net.Mail.AttachmentBase" /> with the specified file name.</para></summary><param name="fileName"><attribution license="cc4" from="Microsoft" modified="false" />The file name holding the content for this attachment.</param></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="protected AttachmentBase (System.IO.Stream contentStream, System.Net.Mime.ContentType contentType);" /><MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(class System.IO.Stream contentStream, class System.Net.Mime.ContentType contentType) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Parameters><Parameter Name="contentStream" Type="System.IO.Stream" /><Parameter Name="contentType" Type="System.Net.Mime.ContentType" /></Parameters><Docs><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Instantiates an <see cref="T:System.Net.Mail.AttachmentBase" /> with the specified <see cref="T:System.IO.Stream" /> and <see cref="T:System.Net.Mime.ContentType" />.</para></summary><param name="contentStream"><attribution license="cc4" from="Microsoft" modified="false" />A stream containing the content for this attachment.</param><param name="contentType"><attribution license="cc4" from="Microsoft" modified="false" />The type of the content.</param></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="protected AttachmentBase (System.IO.Stream contentStream, string mediaType);" /><MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(class System.IO.Stream contentStream, string mediaType) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Parameters><Parameter Name="contentStream" Type="System.IO.Stream" /><Parameter Name="mediaType" Type="System.String" /></Parameters><Docs><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Instantiates an <see cref="T:System.Net.Mail.AttachmentBase" /> with the specified <see cref="T:System.IO.Stream" /> and media type.</para></summary><param name="contentStream"><attribution license="cc4" from="Microsoft" modified="false" />A stream containing the content for this attachment.</param><param name="mediaType"><attribution license="cc4" from="Microsoft" modified="false" />The MIME media type of the content.</param></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="protected AttachmentBase (string fileName, System.Net.Mime.ContentType contentType);" /><MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(string fileName, class System.Net.Mime.ContentType contentType) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Parameters><Parameter Name="fileName" Type="System.String" /><Parameter Name="contentType" Type="System.Net.Mime.ContentType" /></Parameters><Docs><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Instantiates an <see cref="T:System.Net.Mail.AttachmentBase" /> with the specified file name and content type.</para></summary><param name="fileName"><attribution license="cc4" from="Microsoft" modified="false" />The file name holding the content for this attachment.</param><param name="contentType"><attribution license="cc4" from="Microsoft" modified="false" />The type of the content.</param></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="protected AttachmentBase (string fileName, string mediaType);" /><MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(string fileName, string mediaType) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Parameters><Parameter Name="fileName" Type="System.String" /><Parameter Name="mediaType" Type="System.String" /></Parameters><Docs><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Instantiates an <see cref="T:System.Net.Mail.AttachmentBase" /> with the specified file name and media type.</para></summary><param name="fileName"><attribution license="cc4" from="Microsoft" modified="false" />The file name holding the content for this attachment.</param><param name="mediaType"><attribution license="cc4" from="Microsoft" modified="false" />The MIME media type of the content.</param></Docs></Member><Member MemberName="ContentId"><MemberSignature Language="C#" Value="public string ContentId { get; set; }" /><MemberSignature Language="ILAsm" Value=".property instance string ContentId" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.String</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets the MIME content ID for this attachment.</para></summary></Docs></Member><Member MemberName="ContentStream"><MemberSignature Language="C#" Value="public System.IO.Stream ContentStream { get; }" /><MemberSignature Language="ILAsm" Value=".property instance class System.IO.Stream ContentStream" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.IO.Stream</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the content stream of this attachment.</para></summary></Docs></Member><Member MemberName="ContentType"><MemberSignature Language="C#" Value="public System.Net.Mime.ContentType ContentType { get; set; }" /><MemberSignature Language="ILAsm" Value=".property instance class System.Net.Mime.ContentType ContentType" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Net.Mime.ContentType</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the content type of this attachment.</para></summary></Docs></Member><Member MemberName="Dispose"><MemberSignature Language="C#" Value="public void Dispose ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Dispose() cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters /><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Call <see cref="M:System.Net.Mail.AttachmentBase.Dispose" /> when you are finished using the <see cref="T:System.Net.Mail.AttachmentBase" />. The <see cref="M:System.Net.Mail.AttachmentBase.Dispose" /> method leaves the <see cref="T:System.Net.Mail.AttachmentBase" /> in an unusable state. After calling <see cref="M:System.Net.Mail.AttachmentBase.Dispose" />, you must release all references to the <see cref="T:System.Net.Mail.AttachmentBase" /> so the garbage collector can reclaim the memory that the <see cref="T:System.Net.Mail.AttachmentBase" /> was occupying. For more information, see <format type="text/html"><a href="a17b0066-71c2-4ba4-9822-8e19332fc213">Cleaning Up Unmanaged Resources</a></format> and <format type="text/html"><a href="eb4e1af0-3b48-4fbc-ad4e-fc2f64138bf9">Implementing a Dispose Method</a></format>. </para><para>Note   Always call <see cref="M:System.Net.Mail.AttachmentBase.Dispose" /> before you release your last reference to the <see cref="T:System.Net.Mail.AttachmentBase" />. Otherwise, the resources it is using will not be freed until the garbage collector calls the <see cref="T:System.Net.Mail.AttachmentBase" /> object's Finalize method.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Releases the resources used by the <see cref="T:System.Net.Mail.AttachmentBase" />. </para></summary></Docs></Member><Member MemberName="Dispose"><MemberSignature Language="C#" Value="protected virtual void Dispose (bool disposing);" /><MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void Dispose(bool disposing) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="disposing" Type="System.Boolean" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This method is called by the public Dispose() method and the <see cref="M:System.Object.Finalize" /> method. Dispose() invokes the protected Dispose(Boolean) method with the <paramref name="disposing" /> parameter set to true. <see cref="M:System.Object.Finalize" /> invokes Dispose with <paramref name="disposing" /> set to false.</para><para>When the <paramref name="disposing" /> parameter is true, this method releases all resources held by any managed objects that this <see cref="T:System.Net.Mail.AttachmentBase" /> references. This method invokes the Dispose() method of each referenced object.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Releases the unmanaged resources used by the <see cref="T:System.Net.Mail.AttachmentBase" /> and optionally releases the managed resources. </para></summary><param name="disposing"><attribution license="cc4" from="Microsoft" modified="false" />true to release both managed and unmanaged resources; false to release only unmanaged resources. </param></Docs></Member><Member MemberName="TransferEncoding"><MemberSignature Language="C#" Value="public System.Net.Mime.TransferEncoding TransferEncoding { get; set; }" /><MemberSignature Language="ILAsm" Value=".property instance valuetype System.Net.Mime.TransferEncoding TransferEncoding" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Net.Mime.TransferEncoding</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets the encoding of this attachment.</para></summary></Docs></Member></Members></Type>