FtpException Constructor
Namespace: Rebex.Net
Assembly: Rebex.Ftp.dll (version 7.0.9147)
FtpException()
Initializes a new instance of the Ftp
Declaration
public FtpException()
Remarks
This constructor initializes the Message property of the new instance to a message that describes the general error.
FtpException(String)
Initializes a new instance of the Ftp
Declaration
public FtpException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message that describes the error. |
FtpException(String, FtpExceptionStatus)
Initializes a new instance of the Ftp
Declaration
public FtpException(string message, FtpExceptionStatus status)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message that describes the error. |
Ftp |
status | One of the Ftp |
Remarks
The status must not be Protocol
FtpException(String, Exception)
Initializes a new instance of the Ftp
Declaration
public FtpException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message that describes the error. |
Exception | innerException | The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception. |
FtpException(String, Exception, FtpExceptionStatus)
Initializes a new instance of the Ftp
Declaration
public FtpException(string message, Exception innerException, FtpExceptionStatus status)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message that describes the error. |
Exception | innerException | The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception. |
Ftp |
status | One of the Ftp |
Remarks
The status must not be Protocol
FtpException(FtpResponse)
Initializes a new instance of the Ftp
Declaration
public FtpException(FtpResponse response)
Parameters
Type | Name | Description |
---|---|---|
Ftp |
response | The Ftp |