Sugerir traducción
 
Otros han sugerido:

progress indicator
No hay más sugerencias.
Evaluar y enviar comentarios
Contraer todo/Expandir todo Contraer todo
Ver contenido:  en paraleloVer contenido: en paralelo
.NET Framework Class Library
AttachmentBase Class

Base class that represents an email attachment. Classes Attachment, AlternateView, and LinkedResource derive from this class.

Namespace:  System.Net.Mail
Assembly:  System (in System.dll)
Visual Basic
Public MustInherit Class AttachmentBase _
    Implements IDisposable
C#
public abstract class AttachmentBase : IDisposable
Visual C++
public ref class AttachmentBase abstract : IDisposable
F#
[<AbstractClass>]
type AttachmentBase =  
    class
        interface IDisposable
    end

The AttachmentBase type exposes the following members.

  NameDescription
Protected methodAttachmentBase(Stream)Instantiates an AttachmentBase with the specified Stream.
Protected methodAttachmentBase(String)Instantiates an AttachmentBase with the specified file name.
Protected methodAttachmentBase(Stream, ContentType)Instantiates an AttachmentBase with the specified Stream and ContentType.
Protected methodAttachmentBase(Stream, String)Instantiates an AttachmentBase with the specified Stream and media type.
Protected methodAttachmentBase(String, ContentType)Instantiates an AttachmentBase with the specified file name and content type.
Protected methodAttachmentBase(String, String)Instantiates an AttachmentBase with the specified file name and media type.
Top
  NameDescription
Public propertyContentIdGets or sets the MIME content ID for this attachment.
Public propertyContentStreamGets the content stream of this attachment.
Public propertyContentTypeGets the content type of this attachment.
Public propertyTransferEncodingGets or sets the encoding of this attachment.
Top
  NameDescription
Public methodDispose()()()Releases the resources used by the AttachmentBase.
Protected methodDispose(Boolean)Releases the unmanaged resources used by the AttachmentBase and optionally releases the managed resources.
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role not supported), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Biblioteca de clases de .NET Framework
AttachmentBase (Clase)

Clase base que representa los datos adjuntos a un mensaje de correo electrónico. Las clases Attachment, AlternateView y LinkedResource se derivan de esta clase.

Espacio de nombres:  System.Net.Mail
Ensamblado:  System (en System.dll)
Visual Basic
Public MustInherit Class AttachmentBase _
    Implements IDisposable
C#
public abstract class AttachmentBase : IDisposable
Visual C++
public ref class AttachmentBase abstract : IDisposable
F#
[<AbstractClass>]
type AttachmentBase =  
    class
        interface IDisposable
    end

El tipo AttachmentBase expone los siguientes miembros.

  NombreDescripción
Método protegidoAttachmentBase(Stream)Crea una instancia de un objeto AttachmentBase con la secuencia Stream especificada.
Método protegidoAttachmentBase(String)Crea una instancia de un objeto AttachmentBase con el nombre de archivo especificado.
Método protegidoAttachmentBase(Stream, ContentType)Crea una instancia de un objeto AttachmentBase con la secuencia Stream especificada y el objeto ContentType especificado.
Método protegidoAttachmentBase(Stream, String)Crea una instancia de un objeto AttachmentBase con la secuencia Stream especificada y el tipo de medio especificado.
Método protegidoAttachmentBase(String, ContentType)Crea una instancia de un objeto AttachmentBase con el nombre de archivo y el tipo de contenido especificados.
Método protegidoAttachmentBase(String, String)Crea una instancia de un objeto AttachmentBase con el nombre de archivo y el tipo de medio especificados.
Arriba
  NombreDescripción
Propiedad públicaContentIdObtiene o establece el id. de contenido MIME de estos datos adjuntos.
Propiedad públicaContentStreamObtiene la secuencia de contenido de estos datos adjuntos.
Propiedad públicaContentTypeObtiene el tipo de contenido de estos datos adjuntos.
Propiedad públicaTransferEncodingObtiene o establece la codificación de estos datos adjuntos.
Arriba
  NombreDescripción
Método públicoDispose()()()Libera los recursos usados por AttachmentBase.
Método protegidoDispose(Boolean)Libera los recursos no administrados usados por AttachmentBase y, opcionalmente, los recursos administrados.
Método públicoEquals(Object)Determina si el objeto Object especificado es igual al objeto Object actual. (Se hereda de Object).
Método protegidoFinalizePermite que un objeto intente liberar recursos y realizar otras operaciones de limpieza antes de ser reclamado por la recolección de elementos no utilizados. (Se hereda de Object).
Método públicoGetHashCodeActúa como función hash para un tipo concreto. (Se hereda de Object).
Método públicoGetTypeObtiene el objeto Type de la instancia actual. (Se hereda de Object).
Método protegidoMemberwiseCloneCrea una copia superficial del objeto Object actual. (Se hereda de Object).
Método públicoToStringDevuelve una cadena que representa el objeto actual. (Se hereda de Object).
Arriba

.NET Framework

Compatible con: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Compatible con: 4, 3.5 SP1

Windows 7, Windows Vista SP1 o posterior, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (no se admite Server Core), Windows Server 2008 R2 (se admite Server Core con SP1 o posterior), Windows Server 2003 SP2

.NET Framework no admite todas las versiones de todas las plataformas. Para obtener una lista de las versiones compatibles, vea Requisitos de sistema de .NET Framework.
Todos los miembros static (Shared en Visual Basic) públicos de este tipo son seguros para la ejecución de subprocesos. No se garantiza que los miembros de instancias sean seguros para la ejecución de subprocesos.
Contenido de la comunidad   ¿Qué es Community Content?
Agregar contenido nuevo RSS  Anotaciones
Processing
© 2012 Microsoft. Reservados todos los derechos. Términos de uso | Marcas Registradas | Privacidad
Page view tracker