FtpClient.BeginSetDataType Method

System.Net.FtpClient

Collapse image Expand Image Copy image CopyHover image
Asynchronously sets the data type on the server

Namespace: System.Net.FtpClient
Assembly: System.Net.FtpClient (in System.Net.FtpClient.dll) Version: 1.0.5064.17461

Syntax

C#
protected IAsyncResult BeginSetDataType(
	FtpDataType type,
	AsyncCallback callback,
	Object state
)
Visual Basic
Protected Function BeginSetDataType ( 
	type As FtpDataType,
	callback As AsyncCallback,
	state As Object
) As IAsyncResult
Visual C++
protected:
IAsyncResult^ BeginSetDataType(
	FtpDataType type, 
	AsyncCallback^ callback, 
	Object^ state
)

Parameters

type
Type: System.Net.FtpClient..::..FtpDataType
ASCII/Binary
callback
Type: System..::..AsyncCallback
Async callback
state
Type: System..::..Object
State object

Return Value

Type: IAsyncResult
IAsyncResult

See Also