Invokes the given delegate.
Namespace: EnterpriseDT.Net.FtpAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40
Syntax
C# |
---|
protected internal Object InvokeDelegate( bool preferGuiThread, bool permitAsync, Delegate del, params Object[] args ) |
Visual Basic |
---|
Protected Friend Function InvokeDelegate ( _ preferGuiThread As Boolean, _ permitAsync As Boolean, _ del As Delegate, _ ParamArray args As Object() _ ) As Object |
Visual C++ |
---|
protected public: Object^ InvokeDelegate( bool preferGuiThread, bool permitAsync, Delegate^ del, ... array<Object^>^ args ) |
Parameters
- preferGuiThread
- Type: System..::..Boolean
If true then an attempt will be made to run on the GUI thread
- permitAsync
- Type: System..::..Boolean
Allow delegate to be called asynchronously.
- del
- Type: System..::..Delegate
Delegate to invoke.
- args
- Type: array<System..::..Object>[]()[][]
Arguments with which to invoke the delegate.