C# Class System.Net.Mail.SmtpException

Inheritance: System.Exception, ISerializable
Show file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
SmtpException ( ) : System
SmtpException ( SmtpStatusCode statusCode ) : System
SmtpException ( SmtpStatusCode statusCode, string message ) : System
SmtpException ( string message ) : System
SmtpException ( string message, Exception innerException ) : System

Protected Methods

Method Description
SmtpException ( SerializationInfo serializationInfo, StreamingContext streamingContext ) : System

Private Methods

Method Description
GetMessageForStatus ( SmtpStatusCode statusCode ) : string
GetMessageForStatus ( SmtpStatusCode statusCode, string serverResponse ) : string
GetObjectData ( SerializationInfo serializationInfo, StreamingContext streamingContext ) : void
ISerializable ( SerializationInfo serializationInfo, StreamingContext streamingContext ) : void
SmtpException ( SmtpStatusCode statusCode, string serverMessage, bool serverResponse ) : System
SmtpException ( string message, string serverResponse ) : System

Method Details

SmtpException() public method

public SmtpException ( ) : System
return System

SmtpException() protected method

protected SmtpException ( SerializationInfo serializationInfo, StreamingContext streamingContext ) : System
serializationInfo System.Runtime.Serialization.SerializationInfo
streamingContext System.Runtime.Serialization.StreamingContext
return System

SmtpException() public method

public SmtpException ( SmtpStatusCode statusCode ) : System
statusCode SmtpStatusCode
return System

SmtpException() public method

public SmtpException ( SmtpStatusCode statusCode, string message ) : System
statusCode SmtpStatusCode
message string
return System

SmtpException() public method

public SmtpException ( string message ) : System
message string
return System

SmtpException() public method

public SmtpException ( string message, Exception innerException ) : System
message string
innerException System.Exception
return System