Thrown when an operation is attempted on a device that is not open.
More...
Thrown when an operation is attempted on a device that is not open.
◆ DeviceNotOpenException() [1/2]
Apac.Ftdi.DeviceNotOpenException.DeviceNotOpenException |
( |
| ) |
|
|
inline |
◆ DeviceNotOpenException() [2/2]
Apac.Ftdi.DeviceNotOpenException.DeviceNotOpenException |
( |
SerializationInfo |
info, |
|
|
StreamingContext |
context |
|
) |
| |
|
inline |
Initializes a new instance of the DeviceNotOpenException class.
- Parameters
-
info | The T:System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
context | The T:System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |
◆ GetObjectData()
override void Apac.Ftdi.DeviceNotOpenException.GetObjectData |
( |
SerializationInfo |
info, |
|
|
StreamingContext |
context |
|
) |
| |
|
inline |
When overridden in a derived class, sets the T:System.Runtime.Serialization.SerializationInfo with information about the exception.
- Parameters
-
info | The T:System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
context | The T:System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |
<PermissionSet> <IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Read="*AllFiles*" PathDiscovery="*AllFiles*" > <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="SerializationFormatter" > </PermissionSet>
The documentation for this class was generated from the following file:
- /var/lib/jenkins/workspace/apac/APAC/Apac.Ftdi/DeviceNotOpenException.cs