VintaSoft Twain .NET SDK v10.2
CancelTransfer Method (VintasoftTwainApiController)




Vintasoft.Twain.Web.ApiControllers Namespace > VintasoftTwainApiController Class : CancelTransfer Method
The parameters, which are necessary for cancelling current transfer.
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 VintasoftTwainApiController
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

Reference

VintasoftTwainApiController Class
VintasoftTwainApiController Members