GetInfo<T>(Engine, InfoTypeArray)

Generic method, supporting multiple GetInfo calls that return an array of responses.

Declaration
public static IEnumerable<T> GetInfo<T>(Engine engine, InfoTypeArray type)
Example
SLNet.GetInfo<GetProtocolsResponseMessage>(engine, InfoTypeArray.Protocols);
Result
IEnumerable<GetProtocolsResponseMessage>
Type
Name
Description

T

The expected ResponseMessage that is returned by the target call.

engine

Interfaces with the DataMiner System from an Automation script.

type

The target GetInfo call.

circle-info

To determine the expected return type, simply hover over the desired GetInfo call and an IntelliSense window should display it (e.g Returns: GetProtocolsResponseMessage).

circle-info

The GetInfo calls are the same as what the client (Cube) makes when it starts as well as during operation.

circle-info

This method is intended for receiving an array of responses only, for calls that return a single response use this method instead GetInfo(Engine, InfoTypeSingle).

Last updated