Class PvException
Exception class wrapping a PvResult object. Used for most of the error management in the eBUS SDK.
Implements
Inherited Members
Namespace: eBUSDotNet
Assembly: eBUSDotNet.dll
Syntax
public class PvException : Exception, ISerializable
Constructors
View SourcePvException(PvResult)
Constructor
Declaration
public PvException(PvResult aResult)
Parameters
| Type | Name | Description |
|---|---|---|
| PvResult | aResult | PvResult object used to initialize the exception. |
PvException(uint)
Constructor
Declaration
public PvException(uint aCode)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | aCode | PvResultCode used to initialize the exception. |
PvException(uint, string)
Constructor
Declaration
public PvException(uint aCode, string aDescription)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | aCode | PvResultCode used to initialize the exception. |
| string | aDescription | Error description string. |
Properties
View SourceMessage
Override of the exception description message.
Declaration
public override string Message { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
View SourceResult
Accessor to the embedded PvResult object.
Declaration
public PvResult Result { get; }
Property Value
| Type | Description |
|---|---|
| PvResult |