PowerTCP FTP for .NET
TcpAsyncCallback Delegate



The TcpBase object that initiated the asynchronous operation.
The Data object containing received/sent data. Null for connect operations or if the socket is closed.
Populated if the operation threw an exception, otherwise null.
State object passed into the asynchronous call.
References the method to invoke on an IO completion thread when the corresponding asynchronous operation completes.
Syntax
Public Delegate Sub TcpAsyncCallback( _
   ByVal tcp As TcpBase, _
   ByVal data As Data, _
   ByVal exception As Exception, _
   ByVal state As Object _
) 
Dim instance As New TcpAsyncCallback(AddressOf HandlerMethod)
public delegate void TcpAsyncCallback( 
   TcpBase tcp,
   Data data,
   Exception exception,
   object state
)
public delegate void TcpAsyncCallback( 
   TcpBase^ tcp,
   Data^ data,
   Exception^ exception,
   Object^ state
)

Parameters

tcp
The TcpBase object that initiated the asynchronous operation.
data
The Data object containing received/sent data. Null for connect operations or if the socket is closed.
exception
Populated if the operation threw an exception, otherwise null.
state
State object passed into the asynchronous call.
See Also

Reference

TcpAsyncCallback Members
Dart.Ftp Namespace


PowerTCP FTP for .NET Documentation Version 6.1
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic