Boilerplate implementation of ICardTerminal.Init.

Namespace: CardWerk.SmartCard
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)

Public Sub Init( _ 
ByVal aConfig As CardTerminalConfig
)
This language is not supported or no code example is available.
public void Init( 
CardTerminalConfig aConfig 
)
This language is not supported or no code example is available.
public:  
void Init( 
CardTerminalConfig^ aConfig 
)
This language is not supported or no code example is available.
public function Init( 
aConfig : CardTerminalConfig 
);
This language is not supported or no code example is available.

Parameters

aConfig
Type: CardTerminalConfig

Provides the complete configuration information. This is never null.

Exception type Condition

ObjectDisposedException

Thrown when a supplied object has been disposed.

ArgumentNullException

Thrown when one or more required arguments are null.

InvalidOperationException

Thrown when the requested operation is invalid.

This implementation checks whether this object was disposed and throws an ObjectDisposedException if so. Also it checks whether the object was already initialized and throws a InvalidOperationException if so. Next it invokes the abstract method InternalInit which must be provided by the derived class. If that internal method returns without throwing an exception the internal flag m_fIsInitialized is set to indicate successful initialization.

.NET Framework

Supported in: 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

.NET Core

Supported in: 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0

.NET Standard

Supported in: 2.0