VintaSoft Twain .NET SDK v10.2
Vintasoft.Twain.Web.Api2Controllers Namespace / VintasoftTwainApi2Controller Class / CancelTransfer Method
The parameters, which are necessary for cancelling current transfer.




In This Topic
    CancelTransfer Method (VintasoftTwainApi2Controller)
    In This Topic
    Sends the cancel current transfer command to the device (transfer will not be canceled right after execution of this method).
    Syntax
    'Declaration
     
    <HttpPostAttribute()>
    Public Overridable Function CancelTransfer( _
       ByVal requestParams As DeviceRequestParamsBase _
    ) As Vintasoft.Shared.Web.BaseResponseParams
    'Usage
     
    Dim instance As VintasoftTwainApi2Controller
    Dim requestParams As DeviceRequestParamsBase
    Dim value As Vintasoft.Shared.Web.BaseResponseParams
     
    value = instance.CancelTransfer(requestParams)
    [HttpPost()]
    public virtual Vintasoft.Shared.Web.BaseResponseParams CancelTransfer( 
       DeviceRequestParamsBase requestParams
    )
    [HttpPost()]
    public: virtual Vintasoft.Shared.Web.BaseResponseParams* CancelTransfer( 
       DeviceRequestParamsBase* requestParams
    ) 
    [HttpPost()]
    public:
    virtual Vintasoft.Shared.Web.BaseResponseParams^ CancelTransfer( 
       DeviceRequestParamsBase^ requestParams
    ) 

    Parameters

    requestParams
    The parameters, which are necessary for cancelling current transfer.

    Return Value

    Base information about web request.
    Requirements

    Target Platforms: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also