Table of Contents

Method CreateFromRaw

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

CreateFromRaw(string, ISerializer)

Creates an inter-app call from the specified string.

public static IInterAppCall CreateFromRaw(string rawData, ISerializer serializer)

Parameters

rawData string

The serialized raw data.

serializer ISerializer

Serializer to use.

Returns

IInterAppCall

An inter-app call.

Exceptions

ArgumentNullException

rawData is empty or null.

ArgumentNullException

serializer is null.

ArgumentException

Format of rawData is invalid and deserialization failed.

CreateFromRaw(string, IEnumerable<Type>)

Creates an inter-app call from the specified string.

public static IInterAppCall CreateFromRaw(string rawData, IEnumerable<Type> knownTypes)

Parameters

rawData string

The serialized raw data.

knownTypes IEnumerable<Type>

A list of known message types.

Returns

IInterAppCall

An inter-app call.

Exceptions

ArgumentNullException

rawData is empty or null.

ArgumentNullException

knownTypes is null.

ArgumentException

Format of rawData is invalid and deserialization failed.