Table of Contents

Method CreateFromRemote

Namespace
Skyline.DataMiner.Core.InterAppCalls.Common.CallBulk
Assembly
Skyline.DataMiner.Core.InterAppCalls.Common.dll

CreateFromRemote(IConnection, int, int, int, ISerializer)

Creates an inter-app call from the contents of the specified parameter.

public static IInterAppCall CreateFromRemote(IConnection connection, int agentId, int elementId, int parameterId, ISerializer serializer)

Parameters

connection IConnection

The raw SLNet connection.

agentId int

The source DataMiner Agent ID.

elementId int

The source element ID.

parameterId int

The source parameter ID.

serializer ISerializer

Serializer to use.

Returns

IInterAppCall

An inter-app call.

Exceptions

ArgumentNullException

connection or serializer is null.

ArgumentException

The format of the content of the specified parameter is invalid and deserialization failed.

CreateFromRemote(IConnection, int, int, int, IEnumerable<Type>)

Creates an inter-app call from the contents of the specified parameter.

public static IInterAppCall CreateFromRemote(IConnection connection, int agentId, int elementId, int parameterId, IEnumerable<Type> knownTypes)

Parameters

connection IConnection

The raw SLNet connection.

agentId int

The source DataMiner Agent ID.

elementId int

The source element ID.

parameterId int

The source parameter ID.

knownTypes IEnumerable<Type>

A list of known message types.

Returns

IInterAppCall

An inter-app call.

Exceptions

ArgumentException

The format of the content of the specified parameter is invalid and deserialization failed.

ArgumentNullException

connection or knownTypes is null.