Xceed .NET Libraries Documentation
BeginChangeTransferMode(TransferMode,AsyncCallback,Object) Method


Xceed.Ftp Assembly > Xceed.Ftp Namespace > AsyncFtpClient Class : BeginChangeTransferMode(TransferMode,AsyncCallback,Object) Method
The new transfer mode.
Callback method to be called when the asynchronous operation is completed.
An object containing state information for this operation.
Begins the process of changing the transfer mode. Don't forget to call EndChangeTransferMode!
Syntax
'Declaration
 
Public Function BeginChangeTransferMode( _
   ByVal transferMode As TransferMode, _
   ByVal callback As AsyncCallback, _
   ByVal state As Object _
) As IAsyncResult
'Usage
 
Dim instance As AsyncFtpClient
Dim transferMode As TransferMode
Dim callback As AsyncCallback
Dim state As Object
Dim value As IAsyncResult
 
value = instance.BeginChangeTransferMode(transferMode, callback, state)
public IAsyncResult BeginChangeTransferMode( 
   TransferMode transferMode,
   AsyncCallback callback,
   object state
)

Parameters

transferMode
The new transfer mode.
callback
Callback method to be called when the asynchronous operation is completed.
state
An object containing state information for this operation.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AsyncFtpClient Class
AsyncFtpClient Members