Method GetLocalElement
- Namespace
- Skyline.DataMiner.Core.DataMinerSystem.Protocol
- Assembly
- Skyline.DataMiner.Core.DataMinerSystem.Protocol.dll
GetLocalElement(SLProtocol)
Gets an object implementing the ILocalElement interface using an instance of the SLProtocol class.
[Obsolete("GetLocalElement is obsolete. Avoid using this method to interact with the local element as some calls result in SLNet calls instead of SLProtocol calls.")]
public static ILocalElement GetLocalElement(this SLProtocol protocol)
Parameters
protocolSLProtocolThe SLProtocol instance.
Returns
- ILocalElement
Object implementing the ILocalElement interface.
Exceptions
- ArgumentNullException
protocolis null.