edtFTPnet/Free - Open-source FTP component for .NET | Download

FTPConnectionInvokeEventHandler(Boolean, Boolean, Delegate, Object, EventArgs) Method

Invokes the given event-handler.

Definition

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnet (in edtFTPnet.dll) Version: 2.2.3.0
C#
protected virtual void InvokeEventHandler(
	bool preferGuiThread,
	bool permitAsync,
	Delegate eventHandler,
	Object sender,
	EventArgs e
)

Parameters

preferGuiThread  Boolean
If true then an attempt will be made to run on the GUI thread
permitAsync  Boolean
Allow delegate to be called asynchronously.
eventHandler  Delegate
Event-handler to invoke.
sender  Object
Sender of the event.
e  EventArgs
Event arguments.

See Also