Add a TraceListner to the collection. You can use one of the predefined
TraceListeners in the System.Diagnostics namespace, such as ConsoleTraceListener
for logging to the console, or you can write your own deriving from
System.Diagnostics.TraceListener.
Namespace: System.Net.FtpClient
Assembly: System.Net.FtpClient (in System.Net.FtpClient.dll) Version: 1.0.5064.17461
Syntax
C# |
public static void AddListener(
TraceListener listener
)
|
Visual Basic |
Public Shared Sub AddListener (
listener As TraceListener
)
|
Visual C++ |
public:
static void AddListener(
TraceListener^ listener
)
|
See Also