SmartCard.CancelTransaction
---------------------------

Cancels current transaction.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [SmartCard](component_SmartCard.md) | [6.3](newinversion63.md) | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes, on macOS and Windows | ❌ No |

MBS( "SmartCard.CancelTransaction"; SmartCardContext ) 

**MBS**( **"SmartCard.CancelTransaction";** /\* Cancels current transaction. \*/  
**$SmartCardContext**) /\* The smartcard context reference number. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| SmartCardContext | The smartcard context reference number. | $SmartCardContext |

### Result

Returns OK or error.

### Description

Cancels current transaction.  
### See also

- [SmartCard.BeginTransaction](SmartCardBeginTransaction.md)
- [SmartCard.EndTransaction](SmartCardEndTransaction.md)

This function checks for a license.

Created 13th June 2016 , last changed 19th June 2016

  
[SmartCard.Cancel](SmartCardCancel.md) - [SmartCard.Connect](SmartCardConnect.md)

[HTML Version](SmartCardCancelTransaction.shtml)