Method TryHandleMessage
- Namespace
- Skyline.DataMiner.Utils.DOM.UnitTesting
- Assembly
- Skyline.DataMiner.Utils.DOM.dll
TryHandleMessage(DMSMessage, out DMSMessage)
Tries to handle a DMS message, processing the message and providing a response.
public bool TryHandleMessage(DMSMessage message, out DMSMessage response)
Parameters
messageDMSMessageThe DMS message to handle.
responseDMSMessageWhen the method returns, contains the response to the input message, if the message is supported; otherwise, the default value.
Returns
- bool
trueif the message is supported and a response is provided; otherwise,false.