edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Click or drag to resize

FTPTask Class

Describes an asynchronous method-call launched by one of ExFTPConnection's Begin__() methods.
Inheritance Hierarchy
SystemObject
  EnterpriseDT.Net.FtpFTPTask

Namespace:  EnterpriseDT.Net.Ftp
Assembly:  edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.3.0.0
Syntax
public class FTPTask : IAsyncResult

The FTPTask type exposes the following members.

Properties
  NameDescription
Public propertyArguments
Arguments being used.
Public propertyAsyncState
Public propertyAsyncWaitHandle
Public propertyCompletedSynchronously
Public propertyConnection
Connection on which task was executed.
Public propertyIsCompleted
Public propertyMethod
MethodInfo object identifying the synchronous method being called (asynchronously).
Public propertyMethodIdentifier
Name of synchronous method being called (asynchronously).
Public propertyStatus
Current status of the task.
Public propertyTaskID
ID of task.
Public propertyUsePool
Indicates whether or not the task is being executing using the connection pool.
Top
Methods
  NameDescription
Public methodCancel
Cancels this task (see CancelTask(IAsyncResult).
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString (Overrides ObjectToString.)
Top
Fields
  NameDescription
Protected fieldconn
Top
Remarks
TaskID is a unique identifier for the asynchronous method-call. It may be passed to [!:ExFTPConnection.CancelTask()] to cancel the task. The properties, Method, [!:MethodName] and Arguments provide information about the synchronous method being called (asynchronously).
See Also