Method GetDriverType
GetDriverType(int)
Return the transport type used by the registered driver.
Declaration
public TransportType GetDriverType(int driverId)
Parameters
| Type | Name | Description |
|---|---|---|
| int | driverId | the id of the driver. Should be always greater or equals than FirstDriverId |
Returns
| Type | Description |
|---|---|
| TransportType | The TransportType of driver |
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | Throw an exception if a driver is not found |