.NET Framework Class Library SmtpFailedRecipientException Class Represents the exception that is thrown when the SmtpClient is not able to complete a Send or SendAsync operation to a particular recipient.

Inheritance Hierarchy
Namespace:
System.Net.Mail
Assembly:
System (in System.dll)

Syntax
<SerializableAttribute> _
Public Class SmtpFailedRecipientException _
Inherits SmtpException _
Implements ISerializable
[SerializableAttribute]
public class SmtpFailedRecipientException : SmtpException,
ISerializable
[SerializableAttribute]
public ref class SmtpFailedRecipientException : public SmtpException,
ISerializable
[<SerializableAttribute>]
type SmtpFailedRecipientException =
class
inherit SmtpException
interface ISerializable
end
The SmtpFailedRecipientException type exposes the following members.

Constructors
|
| Name | Description |
|---|
.gif) | SmtpFailedRecipientException()()() | Initializes an empty instance of the SmtpFailedRecipientException class. | .gif) | SmtpFailedRecipientException(String) | Initializes a new instance of the SmtpFailedRecipientException class with the specified error message. | .gif) | SmtpFailedRecipientException(SerializationInfo, StreamingContext) | Infrastructure. Initializes a new instance of the SmtpFailedRecipientException class from the specified instances of the SerializationInfo and StreamingContext classes. | .gif) | SmtpFailedRecipientException(SmtpStatusCode, String) | Initializes a new instance of the SmtpFailedRecipientException class with the specified status code and e-mail address. | .gif) | SmtpFailedRecipientException(String, Exception) | Initializes a new instance of the SmtpException class with the specified error message and inner exception. | .gif) | SmtpFailedRecipientException(SmtpStatusCode, String, String) | Initializes a new instance of the SmtpFailedRecipientException class with the specified status code, e-mail address, and server response. | .gif) | SmtpFailedRecipientException(String, String, Exception) | Initializes a new instance of the SmtpException class with the specified error message, e-mail address, and inner exception. | Top

Methods

Events
|
| Name | Description |
|---|
.gif) | SerializeObjectState | Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception. (Inherited from Exception.) | Top

Explicit Interface Implementations

Version Information
.NET FrameworkSupported in: 4, 3.5, 3.0, 2.0 .NET Framework Client ProfileSupported in: 4, 3.5 SP1

Platforms
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.

Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also
|
Biblioteca de clases de .NET Framework SmtpFailedRecipientException (Clase) Representa la excepción que se produce cuando SmtpClient no puede finalizar una operación Send o operación SendAsync a un destinatario concreto.

Jerarquía de herencia
Espacio de nombres:
System.Net.Mail
Ensamblado:
System (en System.dll)

Sintaxis
<SerializableAttribute> _
Public Class SmtpFailedRecipientException _
Inherits SmtpException _
Implements ISerializable
[SerializableAttribute]
public class SmtpFailedRecipientException : SmtpException,
ISerializable
[SerializableAttribute]
public ref class SmtpFailedRecipientException : public SmtpException,
ISerializable
[<SerializableAttribute>]
type SmtpFailedRecipientException =
class
inherit SmtpException
interface ISerializable
end
El tipo SmtpFailedRecipientException expone los siguientes miembros.

Constructores

Métodos

Eventos
|
| Nombre | Descripción |
|---|
.gif) | SerializeObjectState | Se produce cuando se serializa una excepción para crear un objeto de estados de excepción que contiene datos serializados sobre la excepción. (Se hereda de Exception). | Arriba

Implementaciones explícitas de interfaces

Información de versión
.NET FrameworkCompatible con: 4, 3.5, 3.0, 2.0 .NET Framework Client ProfileCompatible con: 4, 3.5 SP1

Plataformas
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.

Seguridad para subprocesos
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.

Vea también
|