An NDoc Documented Class Library |

# FTPConnection.InvokeDelegate Method

Invokes the given delegate.

protected internal object InvokeDelegate(
bool preferGuiThread,
bool permitAsync,
Delegate del,
params object[] args
);

#### Parameters

preferGuiThread
  If `true` then an attempt will be made to run on the GUI thread
permitAsync
del
  Delegate to invoke.
args
  Arguments with which to invoke the delegate.

#### Return Value

Return value of delegate (if any).

#### See Also

FTPConnection Class | EnterpriseDT.Net.Ftp Namespace