CommunicatorRaiseComException(String, Boolean, ComExceptionComExceptionKind) 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
)

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

See Also