Table of Contents

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 DMSMessage

The DMS message to handle.

response DMSMessage

When 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.