C# Class CyrusBuilt.MonoPi.IO.InvalidPinModeException

The exception that is thrown when an invalid pin mode is used.
Inheritance: System.Exception
Afficher le fichier Open project: cyrusbuilt/MonoPi

Méthodes publiques

Méthode Description
InvalidPinModeException ( IPin pin ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.IO.InvalidPinModeException class with the pin in question

InvalidPinModeException ( IPin pin, String message ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.IO.InvalidPinModeException class with the pin in question and a message describing the exception.

Method Details

InvalidPinModeException() public méthode

Initializes a new instance of the CyrusBuilt.MonoPi.IO.InvalidPinModeException class with the pin in question
public InvalidPinModeException ( IPin pin ) : System
pin IPin /// The pin that is the cause of the exception. ///
Résultat System

InvalidPinModeException() public méthode

Initializes a new instance of the CyrusBuilt.MonoPi.IO.InvalidPinModeException class with the pin in question and a message describing the exception.
public InvalidPinModeException ( IPin pin, String message ) : System
pin IPin /// The pin that is the cause of the exception. ///
message String /// The message describing the exception. ///
Résultat System