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
message
DMSMessageThe DMS message to handle.
response
DMSMessageWhen the method returns, contains the response to the input message, if the message is supported; otherwise, the default value.
Returns
- bool
true
if the message is supported and a response is provided; otherwise,false
.