|
using System;
using System.Collections.Generic;
using System.Text;
namespace FtpDotNet
{
/// <summary>
/// The delegate to be used in conjuction with the FtpConnectionEventArgs class
/// </summary>
public delegate void FtpConnectionEventHandler(object sender, FtpConnectionEventArgs e);
/// <summary>
/// Provides data for the <see cref="FtpConnection.MessageReceived">MessageReceived event</see>
/// </summary>
public class FtpConnectionEventArgs : EventArgs
{
private string mMessage;
/// <summary>
/// Initializes a new instance of the <see cref="FtpConnectionEventArgs"/>
/// </summary>
/// <param name="message">The status message to be sendt</param>
internal FtpConnectionEventArgs(string message)
{
mMessage = message;
}
/// <summary>
/// Contains status messages from the <see cref="FtpConnection"/> class during operations
/// </summary>
public string Message
{
get { return mMessage; }
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I'm a 39 year old software developer living in Norway.
I'm currently working for a software company making software for the retail industry.