FtpTrace Members

System.Net.FtpClient

Collapse image Expand Image Copy image CopyHover image

The FtpTrace type exposes the following members.

Methods

  Name Description
Public method Static member AddListener
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.
Public method Static member RemoveListener
Remove the specified TraceListener from the collection
Public method Static member Write(String)
Write to the TraceListeners
Public method Static member Write(String, array<Object>[]()[][])
Write to the TraceListeners.
Public method Static member WriteLine(String)
Write to the TraceListeners
Public method Static member WriteLine(String, array<Object>[]()[][])
Write to the TraceListeners.

Properties

  Name Description
Public property Static member FlushOnWrite
Gets or sets whether the trace listeners should be flushed or not after writing to them. Default value is false.

See Also