Constructor which takes is an error number and description.
Namespace:
PhidgetsAssembly: Phidget21.NET (in Phidget21.NET.dll) Version: 2.1.9.34
Syntax
C# |
---|
public PhidgetException( string message, int code ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ message As String, _ code As Integer _ ) |
Visual C++ |
---|
public: PhidgetException( String^ message, int code ) |
Parameters
- message
- Type: System..::.String
Description.
- code
- Type: System..::.Int32
Error code.
Remarks
These exceptions originate from and are filled in by the phidget 21 C library. There shouldn't be a need to create them yourself.