Delegate FileTransferRequestedDelegate
Represents a delegate that handles file transfer requests received by a server.
public delegate Task FileTransferRequestedDelegate(object caller, FileTransferRequestedArgs args)
Parameters
callerobjectThe object that invoked the delegate, typically the server that received the file transfer request.
argsFileTransferRequestedArgsThe arguments containing details about the requested file transfer.
Returns
- Task
A task representing the asynchronous handling of the file transfer request.
Constructors
FileTransferRequestedDelegate(object, nint)
public FileTransferRequestedDelegate(object @object, nint method)
Parameters
Methods
BeginInvoke(object, FileTransferRequestedArgs, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(object caller, FileTransferRequestedArgs args, AsyncCallback callback, object @object)
Parameters
callerobjectargsFileTransferRequestedArgscallbackAsyncCallbackobjectobject
Returns
EndInvoke(IAsyncResult)
public virtual Task EndInvoke(IAsyncResult result)
Parameters
resultIAsyncResult
Returns
Invoke(object, FileTransferRequestedArgs)
public virtual Task Invoke(object caller, FileTransferRequestedArgs args)
Parameters
callerobjectargsFileTransferRequestedArgs