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
LinkedResource Class

Represents an embedded external resource in an email attachment, such as an image in an HTML attachment.

System..::.Object
  System.Net.Mail..::.AttachmentBase
    System.Net.Mail..::.LinkedResource

Namespace:  System.Net.Mail
Assembly:  System (in System.dll)
Visual Basic
Public Class LinkedResource _
    Inherits AttachmentBase
C#
public class LinkedResource : AttachmentBase
Visual C++
public ref class LinkedResource : public AttachmentBase
F#
type LinkedResource =  
    class
        inherit AttachmentBase
    end

The LinkedResource type exposes the following members.

  NameDescription
Public methodLinkedResource(Stream)Initializes a new instance of LinkedResource using the supplied Stream.
Public methodLinkedResource(String)Initializes a new instance of LinkedResource using the specified file name.
Public methodLinkedResource(Stream, ContentType)Initializes a new instance of LinkedResource with the values supplied by Stream and ContentType.
Public methodLinkedResource(Stream, String)Initializes a new instance of LinkedResource with the specified Stream and media type.
Public methodLinkedResource(String, ContentType)Initializes a new instance of LinkedResource with the specified file name and content type.
Public methodLinkedResource(String, String)Initializes a new instance of LinkedResource with the specified file name and media type.
Top
  NameDescription
Public propertyContentIdGets or sets the MIME content ID for this attachment. (Inherited from AttachmentBase.)
Public propertyContentLinkGets or sets a URI that the resource must match.
Public propertyContentStreamGets the content stream of this attachment. (Inherited from AttachmentBase.)
Public propertyContentTypeGets the content type of this attachment. (Inherited from AttachmentBase.)
Public propertyTransferEncodingGets or sets the encoding of this attachment. (Inherited from AttachmentBase.)
Top
  NameDescription
Public methodStatic memberCreateLinkedResourceFromString(String)Creates a LinkedResource object from a string to be included in an email attachment as an embedded resource. The default media type is plain text, and the default content type is ASCII.
Public methodStatic memberCreateLinkedResourceFromString(String, ContentType)Creates a LinkedResource object from a string to be included in an email attachment as an embedded resource, with the specified content type, and media type as plain text.
Public methodStatic memberCreateLinkedResourceFromString(String, Encoding, String)Creates a LinkedResource object from a string to be included in an email attachment as an embedded resource, with the specified content type, and media type.
Public methodDispose()()()Releases the resources used by the AttachmentBase. (Inherited from AttachmentBase.)
Protected methodDispose(Boolean)Releases the unmanaged resources used by the AttachmentBase and optionally releases the managed resources. (Inherited from AttachmentBase.)
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
LinkedResource (Clase)

Representa un recurso externo incrustado en los datos adjuntos a un mensaje de correo electrónico como, por ejemplo, una imagen en los datos adjuntos HTML.

System..::.Object
  System.Net.Mail..::.AttachmentBase
    System.Net.Mail..::.LinkedResource

Espacio de nombres:  System.Net.Mail
Ensamblado:  System (en System.dll)
Visual Basic
Public Class LinkedResource _
    Inherits AttachmentBase
C#
public class LinkedResource : AttachmentBase
Visual C++
public ref class LinkedResource : public AttachmentBase
F#
type LinkedResource =  
    class
        inherit AttachmentBase
    end

El tipo LinkedResource expone los siguientes miembros.

  NombreDescripción
Método públicoLinkedResource(Stream)Inicializa una nueva instancia de la clase LinkedResource utilizando la secuencia Stream especificada.
Método públicoLinkedResource(String)Inicializa una nueva instancia de la clase LinkedResource con el nombre de archivo especificado.
Método públicoLinkedResource(Stream, ContentType)Inicializa una nueva instancia de la clase LinkedResource con los valores proporcionados por Stream y ContentType.
Método públicoLinkedResource(Stream, String)Inicializa una nueva instancia de LinkedResource con el flujo Stream y el tipo de medio especificados.
Método públicoLinkedResource(String, ContentType)Inicializa una nueva instancia de LinkedResource con el nombre de archivo y el tipo de contenido especificados.
Método públicoLinkedResource(String, String)Inicializa una nueva instancia de LinkedResource 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. (Se hereda de AttachmentBase).
Propiedad públicaContentLinkObtiene o establece un URI con el que debe coincidir el recurso.
Propiedad públicaContentStreamObtiene la secuencia de contenido de estos datos adjuntos. (Se hereda de AttachmentBase).
Propiedad públicaContentTypeObtiene el tipo de contenido de estos datos adjuntos. (Se hereda de AttachmentBase).
Propiedad públicaTransferEncodingObtiene o establece la codificación de estos datos adjuntos. (Se hereda de AttachmentBase).
Arriba
  NombreDescripción
Método públicoMiembro estáticoCreateLinkedResourceFromString(String)Crea un objeto LinkedResource a partir de una cadena para que se incluya en los datos adjuntos a un mensaje de correo electrónico en forma de recurso incrustado. El tipo de medio predeterminado es texto sin formato y el tipo de contenido predeterminado es ASCII.
Método públicoMiembro estáticoCreateLinkedResourceFromString(String, ContentType)Crea un objeto LinkedResource a partir de una cadena para que se incluya en los datos adjuntos a un mensaje de correo electrónico en forma de recurso incrustado, con el tipo de contenido especificado y el tipo de medio en forma de texto sin formato.
Método públicoMiembro estáticoCreateLinkedResourceFromString(String, Encoding, String)Crea un objeto LinkedResource a partir de una cadena para que se incluya en los datos adjuntos a un mensaje de correo electrónico en forma de recurso incrustado, con el tipo de contenido y el tipo de medio especificados.
Método públicoDispose()()()Libera los recursos usados por AttachmentBase. (Se hereda de AttachmentBase).
Método protegidoDispose(Boolean)Libera los recursos no administrados usados por AttachmentBase y, opcionalmente, los recursos administrados. (Se hereda de AttachmentBase).
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