CommunicatorRaiseComException(String, Boolean, ComExceptionComExceptionKind, Exception) Method

Displays error message and raises the communication exception.

Definition

Namespace: OddPrg.Communication
Assembly: OddPrg.Communication (in OddPrg.Communication.dll) Version: 2.0.0.2 (2.0.0.2)
C#
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.

See Also