FtpClient.GetAsyncDelegate(T) Method

System.Net.FtpClient

Collapse image Expand Image Copy image CopyHover image
Retretieves the delegate for the specified IAsyncResult and removes it from the m_asyncmethods collection if the operation is successfull

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

Syntax

C#
protected T GetAsyncDelegate<T>(
	IAsyncResult ar
)
Visual Basic
Protected Function GetAsyncDelegate(Of T) ( 
	ar As IAsyncResult
) As T
Visual C++
protected:
generic<typename T>
T GetAsyncDelegate(
	IAsyncResult^ ar
)

Parameters

ar
Type: System..::..IAsyncResult
The IAsyncResult to retrieve the delegate for

Type Parameters

T
Type of delegate to retrieve

Return Value

Type: T
The delegate that generated the specified IAsyncResult

See Also