CommunicatorRaiseComException(String, Boolean, ComExceptionComExceptionKind, Exception) Method
Displays error message and raises the communication exception.
Namespace: OddPrg.CommunicationAssembly: OddPrg.Communication (in OddPrg.Communication.dll) Version: 2.0.0.2 (2.0.0.2)
public void RaiseComException(
string msg,
bool addDescription,
ComExceptionComExceptionKind kind,
Exception innerException
)
Parameters
- msg String
- Error message
- addDescription Boolean
- Flag wheteher to add source device name and its setting description to the error message
- kind ComExceptionComExceptionKind
- Exception kind
- innerException Exception
- Exception that caused calling this method.