Class BikeDataException
Raised when an error occurs receiving data from the bike.
Namespace: UnderDeskBike
Assembly: UnderDeskBike.Device.dll
Syntax
public class BikeDataException : Exception
Constructors
BikeDataException(SerializationInfo, StreamingContext)
Initializes a new instance of the BikeDataException class.
protected BikeDataException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | The SerializationInfo that holds the serialized object data about the exception being thrown. |
StreamingContext | context | The StreamingContext that contains contextual information about the source or destination. |
BikeDataException(String)
Initializes a new instance of the BikeDataException class.
public BikeDataException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message that describes the error. |
BikeDataException(String, Exception)
Initializes a new instance of the BikeDataException class.
public BikeDataException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
String | message | The error message that explains the reason for the exception. |
Exception | innerException | The exception that is the cause of the current exception, or a null reference (langword_csharp_Nothing in Visual Basic) if no inner exception is specified. |