public Either <RfcErrorInfo, long> GetLong(IDataContainerHandle containerHandle, string name) { Logger.IfSome(l => l.LogTrace("getting long value by name", new { containerHandle, name })); var rc = NativeApi.GetLong(containerHandle as Native.IDataContainerHandle, name, out var result, out var errorInfo); return(ResultOrError(result, rc, errorInfo)); }